Commit Graph

1313 Commits

Author SHA1 Message Date
Azareal
525876c7d9 Get rid of annoying error. 2019-12-07 16:38:50 +10:00
Azareal
501c0dff0a Shorten things. 2019-12-07 16:27:01 +10:00
Azareal
0fa9a3fca1 Revamp reglog UI to handle spambots better.
Shorten some reglog phrase names.
Shorten some modlog phrase names.

Add account_privacy phrase.
Tweak account_blocked phrase.
Add account_menu_privacy phrase.
Add account_privacy_head phrase.
Add account_privacy_profile_comments phrase.
Add account_privacy_button phrase.
2019-12-06 09:57:44 +10:00
Azareal
f0a0e1acb3 fix js errors on cosora including the registration one
fixes #64
2019-11-13 09:16:51 +10:00
Azareal
9ab3eff272 Update plugin notes. 2019-11-12 18:25:49 +10:00
Azareal
06f0779525 Shorten some names and eliminate a few allocs. 2019-11-12 16:56:51 +10:00
Azareal
430df1e325 Add blocklist page.
Add account_blocked phrase.
Add account_menu_blocked phrase.
Add account_blocked_head phrase.
Add account_blocked_remove phrase.
Add account_blocked_no_users phrase.
2019-11-12 16:17:46 +10:00
Azareal
ec95b922cf fix the search and filter widget 2019-11-11 17:04:11 +10:00
Azareal
1044518e74 Finish up the adminlogs.
Throw an error instead of updating a word filter that doesn't exist.
Track a bit of extra data for word filter updates.

Shorten the prefixes of the adminlog phrases from panel_logs_administration_ to panel_logs_admin_
Add a bunch of new adminlog phrases.
Tweak the word filter phrases.

Add the extra column to the moderation_logs and administration_logs tables.

You need to run the updater / patcher for this commit.
2019-11-10 12:37:53 +10:00
Azareal
d03c0faf42 Add custom page tests and more word filter tests. 2019-11-09 12:34:12 +10:00
Azareal
2fb15556e1 More word filter tests.
Fix WordFilters.Get.
2019-11-09 08:07:05 +10:00
Azareal
ffdc9e7705 Adminlogs: Custom pages, settings, word filters and backups.
WordFilters.Create now returns the ID.
Add the WordFilters.Get method.
Reduce the boilerplate in the backup page and page store.

Sanitise the names and titles in the Page Manager.

Add page_unknown phrase.
Add setting_unknown phrase.
Add panel_logs_administration_action_page_create phrase.
Add panel_logs_administration_action_page_delete phrase.
Add panel_logs_administration_action_page_edit phrase.
Add panel_logs_administration_action_setting_edit phrase.
Add panel_logs_administration_action_word_filter_create phrase.
Add panel_logs_administration_action_word_filter_delete phrase.
Add panel_logs_administration_action_word_filter_edit phrase.
Add panel_logs_administration_action_backup_download phrase.
2019-11-09 07:46:50 +10:00
Azareal
7e1372b0b4 Adminlogs: Forum Manager Actions.
Shave off a few bytes in the templates.

Add forum_unknown phrase.
Add panel_logs_administration_action_forum_reorder phrase.
Add panel_logs_administration_action_forum_create phrase.
Add panel_logs_administration_action_forum_delete phrase.
Add panel_logs_administration_action_forum_edit phrase.
2019-11-08 20:08:37 +10:00
Azareal
20984f7ea3 Adminlogs: More user edit logs, groups, and group promotions.
Shorten the group form field names.

Add group_unknown phrase.
Add panel_logs_administration_action_group_create phrase.
Add panel_logs_administration_action_group_edit phrase.
Add panel_logs_administration_action_group_promotion_create phrase.
Add panel_logs_administration_action_group_promotion_delete phrase.
2019-11-08 17:52:30 +10:00
Azareal
6e8c241d8b Fix undefined buttons on edit reply.
Move some logic from files.go into templates.go
Shorten some things in templates.go

Fixes #63
2019-11-07 13:53:29 +10:00
Azareal
cc76d399e5 Simple spoilers. 2019-11-07 07:15:43 +10:00
Azareal
5441adb7fc Very incomplete adminlogs. Only user edit so far.
Inline error when there aren't any reglogs, modlogs or adminlogs.
Hide the email on a reglog, if the user didn't insert one.

Add panel_logs_registration_no_logs phrase.
Add panel_logs_moderation_no_logs phrase.
Add panel_logs_administration_action_user_edit phrase.
Add panel_logs_administration_action_unknown phrase.
Add panel_logs_administration_no_logs phrase.
2019-11-06 12:00:44 +10:00
Azareal
4179f472e5 Oops, add this struct too. 2019-11-05 09:49:37 +10:00
Azareal
0403b2e1fa Add panel_user_show_email phrase.
Add account_email_create_email_label phrase.
Add account_email_create_email phrase.
Add account_email_create_button phrase.
2019-11-05 09:35:35 +10:00
Azareal
8cdb0dd187 Add Show Email button to the User Editor and fix some problems too. 2019-11-05 09:32:25 +10:00
Azareal
5635a54d7a SslSchema notes. 2019-11-04 22:24:01 +10:00
Azareal
142359ce11 Add SslSchema config setting.
Reject URL usernames on registration.

Reduce length of char variable name.
2019-11-04 21:55:52 +10:00
Azareal
0f75e96a2d Push CSPs for non-HTTPS connections too. 2019-11-04 20:11:07 +10:00
Azareal
3beb2ed61b Expand the Content Security Policy to the Control Panel. 2019-11-04 17:46:34 +10:00
Azareal
6b745a056f Terminate this loop earlier. 2019-11-04 17:00:12 +10:00
Azareal
09265195bb Fix no item styling in Cosora and add another nbsp. 2019-11-02 15:43:59 +10:00
Azareal
65eadbd4b6 Show an inline error when there aren't any topics instead of a 404.
Use a non-breaking space in the no topics error.
2019-11-02 14:42:24 +10:00
Azareal
bffb095b57 Add zipx, kgb, pea, xz and zz archive formats. 2019-11-01 09:34:50 +10:00
Azareal
f227aadb6d Allow users to upload small archives.
Fix the ordering of functions in topic.Delete.
2019-11-01 09:17:26 +10:00
Azareal
f88b8d9777 Run tests for Go 1.13 too. 2019-11-01 08:20:34 +10:00
Azareal
1ad3e9c9da The forum list should be updated properly now when a topic is deleted. 2019-10-31 18:55:03 +10:00
Azareal
c928c84c95 Reduce boilerplate in the currently defunct mssql.go and pgsql.go 2019-10-31 17:25:56 +10:00
Azareal
2614141af0 Update Additional Configuration. 2019-10-31 10:29:02 +10:00
Azareal
4d82b87bf2 Update LooseHost / LoosePort notes. 2019-10-31 07:00:48 +10:00
Azareal
385fbbcbdb For the more advanced one too. 2019-10-31 06:54:34 +10:00
Azareal
47f82935e7 chmod this too as install-linux relies on it. 2019-10-31 06:51:48 +10:00
Azareal
e845dbe5a5 Add a hidden flag to disable on the spot image encoding.
Update README.
2019-10-31 05:25:45 +10:00
Azareal
e9cf06a5f2 More jpeg file extensions. 2019-10-30 18:16:19 +10:00
Azareal
00634896ec Link the avatars in the profiles to the avatar images. 2019-10-30 17:14:24 +10:00
Azareal
8f98708087 This too.
Rename VerifyEmailSubject phrase to ActivateEmailSubject.
Rename VerifyEmailBody phrase to ActivateEmailBody.
Add ValidateEmailSubject phrase.
Add ValidateEmailBody phrase.
Tweak menu_forums_aria phrase.
2019-10-30 16:41:05 +10:00
Azareal
1da6d3db09 Don't send activation emails on blank emails.
Begin work on the Email Manager.
2019-10-30 16:37:51 +10:00
Azareal
090174a98f Experiment with <img> instead of backgrounds in userinfo on Nox and Cosora. 2019-10-30 16:29:27 +10:00
Azareal
40aa215331 Fix group tags not propagating to replies. 2019-10-30 15:53:35 +10:00
Azareal
a6bede5cbd Bump requirement up-to Go 1.12 2019-10-30 13:59:55 +10:00
Azareal
01d956f9d1 Encode tiffs too.
Update file extension lists.
Update mod floater.
2019-10-30 13:52:04 +10:00
Azareal
9e8b95b1be Add jfif as an image file extension.
Add jpeg as jpgs for post attachments.

Move some things.
2019-10-30 12:59:34 +10:00
Azareal
d2be6b220e Support for optional emails.
Reduce boilerplate and allocations.
Fix the error shown on AccountEditEmailTokenSubmit when there aren't any emails rows.

Add register_account_email_optional phrase.
Add account_email_none phrase.
2019-10-30 08:13:45 +10:00
Azareal
146e5cff0d Try reducing boilerplate in the generated router. 2019-10-29 17:13:04 +10:00
Azareal
033f4624c8 Experiment with the accumulator.
Less boilerplate.
2019-10-29 11:58:04 +10:00
Azareal
eb49dde076 Experiment with eliminating allocations.
Encode png images as pngs rather than turning them into jpgs.
Shorten things to eliminate bytes and boilerplate.
Remove some old code.
2019-10-28 17:46:14 +10:00