Commit Graph

1254 Commits

Author SHA1 Message Date
Azareal f2adb7dfac add AutoLink permission
eliminate pointless arithmetic in the parser
possible fix for creating group promotions

add AutoLink phrase
2021-02-18 21:40:42 +10:00
Azareal de2221f243 fix main.css not being served on /topics/
panic when we try to reference an agent which doesn't exist in gen router init
2021-02-18 09:37:20 +10:00
Azareal 1f0713bb27 add wappalyzer, yacy user agents
fix mj12bot user agent parsing
numbers should now work in user agent marks
2021-02-17 15:27:56 +10:00
Azareal 0740b3bf14 Reduce user agent mark boilerplate in router gen.
Fix PetalBot detection.
2021-02-17 10:07:11 +10:00
Azareal 3d2200bd18 test in 1.16 too 2021-02-17 09:23:29 +10:00
Azareal 6884c9afcc spread love
tweak variable names

phrases:
add convo_rand_0
add convo_rand_1
add convo_rand_2
add convo_rand_3
2021-01-25 09:16:54 +10:00
Azareal 70d66e7dd8 fix has param logic
fix paginator for search user by group
2021-01-20 18:10:50 +10:00
Azareal f69e077347 user manager: search by group
UserStore:
modify SearchOffset method signature
modify CountSearch method signature

phrases:
add panel_users_search_group
add panel_users_search_group_none
add panel_users_search_title

add missing paginator_mod template x.x
eliminate bytes here and there
2021-01-20 09:47:08 +10:00
Azareal 0bf1b6dbd3 make it clearer with a LocalError 2021-01-19 12:51:24 +10:00
Azareal 033ddb185d restrict email parameter to users with EditUserEmail perm 2021-01-19 12:48:49 +10:00
Azareal c9e99c075d basic user manager search
reduce template sizes
add PaginatorMod struct

UserStore:
add SearchOffset method
add CountSearch method

phrases:
add panel_users_search_head
add panel_users_search_name
add panel_users_search_name_placeholder
add panel_users_search_email
add panel_users_search_email_placeholder
add panel_users_search_button
2021-01-19 08:11:30 +10:00
Azareal e792dbc2c7 eliminate more boilerplate in tables.go 2021-01-07 19:15:39 +10:00
Azareal 1137d94d5b reduce boilerplate in tables.go 2021-01-07 18:37:21 +10:00
Azareal 74193223ee log errors properly in ForumsOrderSubmit
fix tiff extensions in canResize check
reduce boilerplate
2021-01-06 16:41:08 +10:00
Azareal 1c5967ad7e and the schema x.x 2021-01-03 08:25:08 +10:00
Azareal a43226f54a Oops. 2021-01-03 08:08:49 +10:00
Azareal 74e0ce492d Weekly Views.
Add avif mime extension.
Optimise skipping watched files which haven't been changed.
Block zgrab to save resources.
Reduce text and boilerplate.

Add route_topic_list_weekviews_start hook.

Add topic_list.week_views_filter phrase.
Changed footer_powered_by phrase.

You will need to run the updater / patcher for this commit.
2021-01-03 07:46:24 +10:00
Azareal 43bace814d update .link_most_viewed properly on page transitions
reduce variable lengths
remove redundant thaw
2020-12-18 11:04:07 +10:00
Azareal fbcbfd9e96 add ComplexPrepare to AccSelectBuilder 2020-12-18 10:53:12 +10:00
Azareal f27d4a4c33 working on weekly views
fix forum topic list not being updated on new topic
2020-12-18 08:54:44 +10:00
Azareal ed201f1898 thaw the topic lists when a new topic is made 2020-12-18 08:26:29 +10:00
Azareal 08be6ca402 fix noavatar cap bug 2020-12-18 07:13:31 +10:00
Azareal 79055994bd imagine if travis actually worked 2020-12-18 06:38:30 +10:00
Azareal fa9bf1f916 fix typo in patcher 2020-12-18 06:30:36 +10:00
Azareal 4d91842407 remove large unused texture
use pngcrush on n6 noavatar
2020-11-17 13:12:20 +10:00
Azareal 1e3a2f4cd6 wrap noavatar uids at 10
fix noavatar uid loop
n5 pngcrush
2020-11-09 16:28:14 +10:00
Azareal b8c570c87e vscode bug 2020-11-09 16:18:03 +10:00
Azareal f95c4c12e6 double the number of cached noavatars 2020-11-09 16:12:08 +10:00
Azareal fb426bda4b add avif, flac, ac3, aac, f4v, xvid, mov, movie, qt, xpi, docx and pdf file extensions 2020-10-21 14:31:33 +10:00
Azareal 86f2b96ba0 flv file extension
delete lesbian spammy domain bit
2020-10-21 07:31:51 +10:00
Azareal e47c531e5a most viewed now works on dynamically loaded topic lists
show opts on empty forums
2020-08-21 08:18:54 +10:00
Azareal c6d18e5c18 linkify avatars on profile comments 2020-08-20 15:06:28 +10:00
Azareal 2211d2ef11 link forums page topics to last page 2020-08-19 15:39:45 +10:00
Azareal e4242eb580 linkify nox userinfo avatar 2020-08-19 15:32:05 +10:00
Azareal a1d5248b45 alt anti-spam experiment
add register_account_verify_image phrase
2020-08-15 12:44:08 +10:00
Azareal 7d3085ce90 long topics should render properly again
try to simplify TopicsRow
2020-08-15 12:37:56 +10:00
Azareal 40783f00da link forum list last topics to last pages 2020-08-13 13:26:02 +10:00
Azareal 9fd88bd6bc verify Site.URL on start-up 2020-08-13 09:46:10 +10:00
Azareal 62be4020d6 run tests for go 1.15 2020-08-13 01:58:04 +10:00
Azareal fbed07a8b4 add m4a file extension 2020-08-12 18:24:41 +10:00
Azareal 5de1f66973 linkify avatars on the forum list
nox: dim linkified avatars on hover
nox: tweak filter_selected text color
2020-08-10 17:10:44 +10:00
Azareal e9819389af cover avatars with AvatarResBase config setting 2020-07-31 22:45:20 +10:00
Azareal 4606a49886 add tgz file extension 2020-07-31 15:58:17 +10:00
Azareal 4680aef783 set RefNoRef to true when using an external domain for StaticResBase 2020-07-31 15:53:33 +10:00
Azareal f502bf4f53 subresource integrity 2020-07-31 15:33:29 +10:00
Azareal 26ad61057a cover dynamically loaded static resources
cover default noavatars
2020-07-31 09:40:14 +10:00
Azareal 43d72e6f3b wip allow for more cdns
add res template function
add ExtraCSPOrigins config setting
add StaticResBase config setting
skip flush directives
2020-07-30 18:10:29 +10:00
Azareal d4fd85f75c fix attachment uploading 2020-07-26 15:14:08 +10:00
Azareal ed64b8f29b eliminate allocs for getting static resources
optimise two char emoticons
add 30 parser tests
2020-07-26 14:36:40 +10:00
Azareal 101b045000 bulk mod: cancel bulk mod mode
bulk mod: fix init binding
bulk mod: cancel bulk mod mode during page transitions
js: more logging
js: add before_init_bind_page hook
js: add end_unbind_page hook
js: change end_bind_page to init hook
js: change end_bind_topic to init hook
nox: add padding to no alerts alert
phrases: add topic_list.cancel_mod
2020-07-23 21:13:55 +10:00