Commit Graph

1183 Commits

Author SHA1 Message Date
Azareal a287ccc3d6 WIP Conversations templates.
WIP Conversations structs.
WIP Unbound conversations routes.
Shorten more variable names.
Eliminate a few characters here and there.
Track down widget tick errors more easily.

Add the convos_head title phrase.
Add the convo_head title phrase.
Add the unit phrase.
Add the account_menu_messages phrase.
Add the convos_head phrase.
Add the convo_head phrase.
Add the create_convo_head phrase.
Add the create_convo_button phrase.
Add the profile_send_message phrase.
Add the panel_dashboard_disk_unknown phrase.
2019-07-27 09:29:42 +10:00
Azareal 597240233f Reduce the boilerplate in tables.go 2019-07-27 09:18:32 +10:00
Azareal 093a37e3c7 Check in even more conversations stuff. 2019-07-27 09:14:37 +10:00
Azareal 7c8bb39024 Check in some more conversations stuff. 2019-07-27 09:13:43 +10:00
Azareal 1c0a3dd5b6 Accept shorter session param names as these are so common.
Prealloc in DefaultPollStore.BulkGetMap
Shorten more variable names.
Remove a bit of inline CSS in topic_alt_quick_reply
2019-07-27 08:36:06 +10:00
Azareal fa629f4b5d fix reports
shorten some variable names
2019-07-27 08:26:52 +10:00
Azareal 22cb2701b2 Shorten a couple of attachment parameters.
Rename a mislabelled variable.
Prealloc in DefaultUserStore.BulkGetMap.
Prealloc in DefaultTopicStore.BulkGetMap.
Shorten the names of some temps.
Shorten a mssql querystring.
2019-07-25 17:00:49 +10:00
Azareal 91f12e26a4 Don't forget this bit.
Updates #59
2019-07-23 20:41:34 +10:00
Azareal ed68c6fc04 Add a simple letter favicon.
Disable Gzip for favicons, it doesn't make them smaller anyway.
Eliminate an allocation for static files.

Fixes #59
2019-07-23 20:34:44 +10:00
Azareal cb8e83ec79 Removed dirsize from the control panel dashboard.
Experimenting with dirsize.
2019-07-21 09:09:26 +10:00
Azareal 483ff06775 Try to reduce duplication in the router. 2019-07-12 18:33:25 +10:00
Azareal ad4dacb447 This was a bit of a joke, but it might be a little confusing lol
Fixes #50
2019-07-12 08:14:32 +10:00
Azareal 7bbaa3050c Maintain panel phrase security boundaries. 2019-07-12 08:09:05 +10:00
Azareal 533c4ca56a Fix more potential superfluous header errors.
Make sure we early exit out of the phrase route after pushing a not modified header.
2019-07-12 07:51:50 +10:00
Azareal f7720575d5 Fix the superfluous header errors.
Shorten the query parameter for phrases.
Move the cache control header in the phrase route down to avoid caching errors improperly.

Fixes #53
2019-07-12 07:38:06 +10:00
Azareal 101b1c51df Fix the empty route errors.
Updates #53
2019-07-12 07:27:08 +10:00
Azareal 13fa2326bd Avoid a few allocations for mentions.
Add six new parser test cases.
Stop treating lone double forward slashes as URLs.

Fixes #52
2019-07-11 20:44:18 +10:00
Azareal 462464e47e Remember to init the emojis.
Init the parser tests properly.
2019-07-11 17:20:33 +10:00
Azareal 1d13330a06 Move the emoji shortcode mappings into /config/emoji_default.json, custom emoji shortcodes can be defined in /config/emoji.json
Add the ldflags to the advanced installation steps.
2019-07-11 17:13:05 +10:00
Azareal a8f2134fb5
Merge pull request #57 from asminozhka/master
Speeded up compilation
2019-07-11 14:45:06 +10:00
asminozhka 90e204bf99 Speeded up compilation 2019-07-10 18:33:07 +03:00
Azareal 8cf9badd46 Remove inline CSS for log pages.
Darken links on hover in Nox.
Add another group.CanSee test.
2019-06-28 09:35:34 +10:00
Azareal 55382dfdb1 Just in case things blow up, shouldn't be necessary. 2019-06-23 16:25:03 +10:00
Azareal ff97a839b8 Eliminate a mv in the installation tutorials and add a missing cd in the advanced installation steps. 2019-06-23 15:59:54 +10:00
Azareal 947306a0af Fix a potential data race when reloading the permissions for a forum.
Log more things during start-up.
Save a few bytes here and there.

Add a couple of initial forum perms store tests.
Add an additional group.CanSee test.
2019-06-19 13:16:03 +10:00
Azareal 54abbe980f Add some test cases to avoid breaking CanSee with GroupStore.Reload again.
Shorten some variable names.
2019-06-18 20:02:45 +10:00
Azareal 768406f9ae Test against master again. 2019-06-18 19:08:26 +10:00
Azareal 97fb4af723 Fix a bug where reloaded groups lost their CanSee data.
Remove a couple of redundant queries in group reload.
Exit from group reload early if there's an error.
Remove a couple of redundant assignments in the forum list.
Shorten some variable names.
2019-06-18 14:13:47 +10:00
Azareal 89ca5ee823 langf now works in transpiled templates, albeit a little inefficiently.
Removed the quick_topic.add_poll_option phrase.
Added the quick_topic.add_poll_option_first phrase.
Changed the topic.reply_add_poll_option phrase.
Added the topic.reply_add_poll_option_first phrase.
2019-06-17 09:36:31 +10:00
Azareal 89c8f4e775 Use a client template for poll input.
Tweak the poll input phrase.
Increase the padding on .pollinput for Nox.
2019-06-16 17:26:31 +10:00
Azareal a5441f18de More conversations progress, still not usable yet.
Flush the debug page incrementally.
Eliminate a tiny bit of code in PreparseMessage.
Shorten some of the pointer capture variables in the poll store.
Tweak the advanced installation instructions for EasyJSON to make it more repeatable.

Added the ConvoKey config setting.
Added /.git/ disk usage to the debug page, if it exists.
Added a UserStore.BulkGetMap multi-user test.
2019-06-16 16:30:58 +10:00
Azareal 0334e6c68c Exclude master for now 2019-06-16 09:28:48 +10:00
Azareal 2b03a295a6 Don't blank the opening post when adding a poll. 2019-06-15 22:53:46 +10:00
Azareal 7a27534153 Don't create a poll if no options are set. 2019-06-15 22:26:37 +10:00
Azareal d95268f069 Remove an inline style for lastName.
Remove a bit of superfluous text.
2019-06-12 04:04:56 +10:00
Azareal 12d733932b Optimise SimpleInsert. 2019-06-11 22:43:33 +10:00
Azareal 7bc2146088 Optimise SimpleUpdate. 2019-06-11 15:44:31 +10:00
Azareal 92250fdd8f Optimise ComplexSelect. 2019-06-11 15:23:25 +10:00
Azareal f7780098db Localise the avatar bits too in the User Manager. 2019-06-11 14:36:03 +10:00
Azareal ee3c29b136 Let admins change and revoke user avatars.
Linkify avatars in the user manager too.

Add the panel_user_avatar phrase.
2019-06-11 08:00:57 +10:00
Azareal 199a841bc3 Add the UploadAvatars permission.
Let users revoke their own avatars, work in progress.
Reduce boilerplate in debug.go

Add the UploadAvatars phrase.
Add the account_penalties phrase.
Add the account_menu_penalties phrase.
Add the account_avatar_revoke_button phrase.

More Vue and Conversations Work.
2019-06-09 13:21:48 +10:00
Azareal 9c19fc92ca Use a like store to abstract some things.
Provisional conversations.
2019-06-05 16:00:40 +10:00
Azareal 084f1bbeca Use strings.Builder in NameToSlug. 2019-06-05 15:10:42 +10:00
Azareal ac0dd6d2cb The login and registration logs are pruned after a year now.
Add filter exclusions for the user agents analytics pane.
Shorten some of the variable names in qgen.

Add ComplexDelete to the query adapter.
Add DateCutoff and DateOlderThan to accDeleteBuilder.
2019-06-05 14:57:10 +10:00
Azareal 05a8adb25e Add the log tables to the debug page. 2019-06-05 11:46:45 +10:00
Azareal a339a3eb69 Highlight the current page on Nox. 2019-06-05 11:19:05 +10:00
Azareal fb990c182c Fix the order of the stylesheets. 2019-06-05 01:33:44 +10:00
Azareal 757bc9874f Bump the number of logs on each page up slightly. 2019-06-04 21:51:15 +10:00
Azareal 145db83815 Get rid of some old JS. 2019-06-04 15:53:40 +10:00
Azareal fdd223d9cf Rewrite the pagination algorithm so it works properly.
Shorten a few bits of JS.
Get the topic store methods to call BypassGet instead of duplicating logic.
2019-06-04 15:48:12 +10:00