Commit Graph

895 Commits

Author SHA1 Message Date
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
Azareal
d9cffb2c5f Refactor attachment uploading to make it more privacy friendly. 2019-10-28 09:55:48 +10:00
Azareal
02cb64d3d9 Fix attachment parsing.
Shorten some things to reduce boilerplate.
Save some allocations.
2019-10-28 09:53:16 +10:00
Azareal
4d9dc76392 Begin work on making the analytics panes somewhat usable when having JavaScript disabled.
Very minor refactoring here and there across the software.
Save some allocations here and there.
2019-10-28 09:13:24 +10:00
Azareal
7b09a3aff5 Changing themes should work without JavaScript now. 2019-10-27 18:58:35 +10:00
Azareal
1189967f2b Add a missing instruction to the installation guide.
Add the /tmp/ folder, currently unused.

Shorten some things.
2019-10-27 09:11:09 +10:00
Azareal
bbef9cead8 Optimise away blocked user queries on profiles for guests.
Shorten some things.
2019-10-20 11:42:19 +10:00
Azareal
47aa6faa11 Update Vue sample deps to get rid of the annoying warning. 2019-10-19 20:35:24 +10:00
Azareal
bbfd3c51c7 Stop blocked users making profile comments too.
Hide the Send Message option on profiles for blocked users.
Move the profile reply routes to their own file.
Remove a redundant user initialisation.

Shorten things.
2019-10-19 20:33:59 +10:00
Azareal
8720de83d8 Rudimentary user convo blocking.
Simplify some things.

Add create_block title phrase.
Add remove_block title phrase.
Add create_block_msg phrase.
Add remove_block_msg phrase.
Add profile_unblock phrase.

Add the users_blocks table.

You will need to run the updater / patcher for this commit.
2019-10-18 10:35:13 +10:00
Azareal
fd1d54c394 Wrestling with tests while pushing random changes. 2019-10-13 20:50:15 +10:00
Azareal
f8e0c5635c basic queries for friends and blocks
fix the tests again
2019-10-13 20:36:50 +10:00
Azareal
3cff453494 push a bit of progress while fixing the tests 2019-10-13 19:07:05 +10:00
Azareal
5404b6fdbe start laying down the skeletons for blocks and friends 2019-10-13 18:50:55 +10:00
Azareal
3472dae669 x.x 2019-10-13 18:26:32 +10:00
Azareal
9b5b1ffc95 make this test more reproducible 2019-10-13 18:22:31 +10:00
Azareal
6147db18dd fix the url parser.
improve the url validator.
add a few more url parser test cases.
2019-10-13 17:32:05 +10:00
Azareal
38bbdfe0c2 Make parsed URLs look a little nicer. 2019-10-13 14:45:15 +10:00
Azareal
df6e268a06 Speed up template compilation by not building the same parse trees multiple times.
Compile panel_debug.
Add the ability to print int8, int16, int32, uint, uint8, uint16, uint32 and uint64 in compiled templates.
Add the ability to pass string nodes to subtemplates in the template compiler.
Fix bunit in the template compiler.

Shorten some things.
2019-10-13 08:49:08 +10:00