67ccca8b4eUse ThemesSlice instead of Themes in Header struct.
Azareal
2021-05-11 19:25:07 +1000
f54203d54fEliminate zone and prescript allocs in userCheck2().
Azareal
2021-05-10 17:53:52 +1000
97f411e02eChange semantics of *WSUser to fix potential bugs, make it easier to test, to release memory more eagerly, and to make it faster. Add CountSockets() method to *WSUser
Azareal
2021-05-08 16:34:46 +1000
e839bc5f2coptimise template gen
Azareal
2021-05-05 22:30:04 +1000
c1163e5da5do a perf test on ViewTopic once an hour to make sure it doesn't die add more task tests more EatPanics()
Azareal
2021-05-05 19:23:58 +1000
cff2e96915add Count() method to PollStore show daily task count on debug page optimise count queries on debug page use Count() methods on debug page where ever possible
Azareal
2021-05-04 21:14:48 +1000
4670375933add unlisted dev setting LogNewLongRoute
Azareal
2021-05-04 21:01:21 +1000
77291e4b44Add ScheduledTasks and TaskSet interfaces. Add unlisted LogLongTick developer setting. Rearrange the order of the shutdown signal handler to figure out where it might fail.
Azareal
2021-05-03 10:36:29 +1000
6766fd659cfine, update this file too
Azareal
2021-05-02 18:54:40 +1000
fc5b29e648Add TickLoop struct. Add a number of new test cases and refactor others. Replace NotifyOne() with ActivityMatches.Add() Shorten arr_ to a_ in tmpl_list.go Reduce boilerplate.
Azareal
2021-05-02 18:47:19 +1000
78fbbcda21Optimise template generator. Optimise mysql adapter. Add TokenScope to mysql adapter. Add SimpleBulkInsert() to installer. Optimise panel.Plugins() route.
Azareal
2021-04-30 08:33:02 +1000
39ace845b7Add BulkExistsFunc() to LikeStore. Add AddScheduledDayTask() and ScheduledDayTaskCount() Reduce boilerplate.
Azareal
2021-04-29 22:59:48 +1000
ea4da062c3Use Rstore.Exists() instead of Rstore.Get() in ReplyEditSubmit. Reduce allocs in WsHubImpl.getUsers() Reduce allocs in wolContextRender() Use b.String() instead of string(b.Bytes()) in preparseWidget() Reduce boilerplate.
Azareal
2021-04-28 19:29:15 +1000
0c1f5cac94Add ActivityMatches store impl. Comment out errorBuffer. Optimise LogWarning() with a string builder. Avoid allocing byte slice in MicroNotFound() Rename basePage to bp. Reduce boilerplate.
Azareal
2021-04-28 18:39:08 +1000
01a19ede79Add Exec() to accDeleteBuilder. Add DateOlderThanQ() to accCountBuilder. Add Stmt() to accCountBuilder. Add AccExec interface. Optimise AccSelectBuilder.In() with a string builder. Use Count() in DefaultActivityStream.Count() Reduce boilerplate and duplication.
Azareal
2021-04-27 20:35:10 +1000
6870d242e9Add ClearIPs() to TopicStore. Add LockMany() to TopicStore. Add RemoveMany() to TopicCache. Add ClearIPs() to PollStore. Add Purge() to RegLogStore. Add DeleteOlderThanDays() to RegLogStore. Add Purge() to LoginLogStore. Add DeleteOlderThanDays() to LoginLogStore. Add SetInt() to MetaStore. Add SetInt64() to MetaStore.
Azareal
2021-04-27 20:20:26 +1000
1b7d6ac724Add ClearIPs() to ProfileReplyStore. Add ClearIPs() to ReplyStore. Add ClearLastIPs() to UserStore. Use Count() in SQLProfileReplyStore.Count()
Azareal
2021-04-27 20:00:11 +1000
cbee05fd3eenable forum actions
Azareal
2021-04-08 10:14:24 +1000
347308387fdon't forget the query generator eliminate boilerplate in the query generator add avatar_visibility setting
Azareal
2021-04-08 03:37:41 +1000
c60118e7c4WIP forum action code. Currently disabled. Add Http Conn Count tracking. Move more panel phrases into the panel namespace. Use a string builder in hookgen. Use Countf() in a couple of places to eliminate boilerplate. Reduce prepared stmt boilerplate in forum store with a lambda. Reduce prepared stmt boilerplate in topic.go with a lambda. Reduce prepared stmt boilerplate in group.go with a lambda. Add TestSetCreatedAt method to *Topic. Add DateOlderThanQ method to *accDeleteBuilder and *accUpdateBuilder. Add Stmt method to *accUpdateBuilder and *AccSelectBuilder. Add AccBuilder interface. Shorten variable names. Shorten extractPerm name to ep. Add avatar_visibility setting stub. Implementation coming in a later commit. Don't set an IP for installer generated posts.
Azareal
2021-04-08 00:23:11 +1000
943a684332comment this part to push the commit sooner
Azareal
2021-04-07 14:23:26 +1000
14b098bac2Add DisableStdout config setting. Add DisableStderr config setting. Eliminate boilerplate in main.go Increase the number of cached q strings. Use the ErrLogger in LogError() and LogWarning() Add the experimental LocalErrorf() Add Err() log function.
Azareal
2021-04-07 12:10:05 +1000
b5e8cbf87crotate log files each week use the current timestamp rather than the startup timestamp for new log files
Azareal
2021-04-07 11:07:24 +1000
7b3cf6877fadd basic support for ipns uris
Azareal
2021-04-05 17:56:38 +1000
ba1d68eea7add basic support for ipfs links shorten data variable names add five parser tests
Azareal
2021-04-05 16:03:53 +1000
a9288d3e29shorten tblKey to tK
Azareal
2021-04-03 19:28:00 +1000
a4ba5a2470Optimise part of fout with string builders in the template generator.
Azareal
2021-03-29 06:57:49 +1000
cb2efa0d31Optimise template list generation. Remove dead code.
Azareal
2021-03-28 18:24:48 +1000
6b645f7b88Add Config.DisableBadRouteLog setting. Surface more errors in template_init.go Dump unknown UAs properly when DisableSuspLog is enabled.
Azareal
2021-03-26 09:06:35 +1000
f6a94d39d6Set the metadata for the last reply rather than the first in a topic when a reply is deleted. Add tests to check the LastReplyID for a topic before and after a reply is deleted.
Azareal
2021-03-25 19:04:02 +1000
6446a1fa4cAdd LastReplyID, simple LastReplyAt, and LastReplyBy topic reply tests. Simplify state tracking in testReplyStore by using a fresh topic on each call. Avoid repeating the TID so much in topic reply tests.
Azareal
2021-03-25 07:39:27 +1000
335c1f96c4Shorten expect to ex and expectf to exf in tests. Reduce boilerplate in tests in other ways like a heavier use of first order functions. Add missing AdminOnly tests in TestPermsMiddleware. Add preliminary test of LastTopicID, TopicCount, and LastPage for topic creation on forums. Fix FPStore check in anonymous function in TestForumPermsStore. Test forum perm changes against specific groups and the ViewForum route. Add alert deletion test. Add preliminary topic list test cases. benchmark things
Azareal
2021-03-24 22:48:36 +1000
300defd460Add TopicListIntTest interface. Use inqbuild2 in DefaultTopicList.Tick. Avoid doing a full paginator calculation in the topic list when the result is obvious. Add defaultPagi and setForumList methods to DefaultTopicList. Cache two more items in qcache. Use a string builder in inqbuild and inqbuildstr. Add the inqbuild2 function. Reduce boilerplate in topic.go
Azareal
2021-03-24 22:07:46 +1000
26e8bf32a7Add GetForRenderRoute to DefaultAttachmentStore. Use ErrCorruptAttachPath in DefaultAttachmentStore. Consider the possibility that the requested attachment doesn't have a file extension. Rename variables to reduce boilerplate. Add TestThaw. Avoid an allocation in hookgen.
Azareal
2021-03-24 21:45:18 +1000
adfed477a0Avoid recomputing some values unneccessarily in the new poll loop. Avoid duplication in reply.go with ReplyActPre.
Azareal
2021-03-24 21:24:41 +1000
faa8be12bbrevert Config.LogDir for ops log rotate other req dump logs don't create the suspicious reqs log file when it is disabled
Azareal
2021-03-24 20:50:22 +1000
d47540391aAdd Config.LogDir and Config.DisableSuspLog settings. Reduce default Config.PostIPCutoff from 120 to 90. Add another startup log call.
Azareal
2021-03-24 18:08:37 +1000
1d747a6f68avoid holding the req log lock for so long
Azareal
2021-03-24 13:25:37 +1000
f073f29a09detect seostar, pandalytics, pagething user agents detect kw iso code fix suspicious req pre lines being mashed onto one line
Azareal
2021-03-24 06:59:34 +1000
93b6e28cd7Oops, remember to hook up this bit.
Azareal
2021-03-23 20:21:56 +1000
20a35fc211rotate the suspicious req logs reduce the number of bytes used by each req dump and don't log raw query when it is blank reduce the number of double suspicious req logs for the same req reduce the number of strings contains scans in the router split the constant parts of gen_router.go into router.go reduce boilerplate in a few spots
Azareal
2021-03-23 19:57:50 +1000
db6bccb7ecrename router.go to old_router.go
Azareal
2021-03-23 18:17:07 +1000
1fa6b3ff26Optimise MemoryForumPermsStore by splitting recalcCanSeeAll out of Reload and only calling it once. Reduce the amount of lock contention in recalcCanSeeAll by only loading each forum once. Stop logging the group ID twice in recalcCanSeeAll. Add the CacheAdd method to GroupCache and use it. Reduce the amount of boilerplate.
Azareal
2021-03-22 19:58:13 +1000
69f6b9c9c5refactor rank precedence with precedence struct in router gen add precedence tests remove dead code from router gen make more strides towards using writers in router gen optimise dump request
Azareal
2021-03-18 15:10:20 +1000
b9d94d0888hoist runnables shared among all routes in a route group to the route group to reduce code duplication rewrite router gen to make indentation maintenance easier
Azareal
2021-03-18 10:22:28 +1000
75561508c8don't log referer when DNT header is set skip Cookie headers in req logs
Azareal
2021-03-02 18:47:36 +1000
4126e8ed0cadd qwant, xenforo, twingly, linkfluence, and new toutiao user agent. add Users.CountSearch test cases. add Users.SearchOffset test cases. add more Users.Count test cases. add more Users.BulkGetByName test cases. reduce boilerplate in other tests. fix bugs in Users.CountSearch and Users.BulkGetByName
Azareal
2021-03-02 17:22:32 +1000
301e7c6beaAdd initial test cases for GetByName and BulkGetByName. Eliminate boilerplate with expectf.
Azareal
2021-02-28 12:23:05 +1000
e49a79014bLog suspicious requests in a seperate log file. Optimise the request logger. Avoid converting from byte slice to string in router gen.
Azareal
2021-02-27 16:52:51 +1000
f20b0bd936Add BulkIsBlockedBy method to BlockStore. Add TotalP to accCountBuilder. Add EachP to AccSelectBuilder. Add expectf. Add more conversation test cases. Refactor conversation tests. Add block tests.
Azareal
2021-02-27 16:13:03 +1000
9437561c76Add BulkGetByName method to UserStore. Add RawBulkGetByNameForConvo method to UserStore. Add ErrSomeUsersNotFound error. User Manager Search Experiment. De-duplicate common user store scan logic. Use inqbuild in BulkGetMap in UserStore.
Azareal
2021-02-27 07:22:36 +1000
8decc0c1a8add flif, heif, heic, bpg and opus to allowed file extensions add flac web audio extension eliminate aloocs with inqbuild and inqbuildstr
Azareal
2021-02-19 13:28:20 +1000
b66aeac966fix some parser corner cases add more parser test cases
Azareal
2021-02-19 12:51:13 +1000
f2adb7dfacadd AutoLink permission eliminate pointless arithmetic in the parser possible fix for creating group promotions
Azareal
2021-02-18 21:40:42 +1000
de2221f243fix main.css not being served on /topics/ panic when we try to reference an agent which doesn't exist in gen router init
Azareal
2021-02-18 09:37:20 +1000
1f0713bb27add wappalyzer, yacy user agents fix mj12bot user agent parsing numbers should now work in user agent marks
Azareal
2021-02-17 15:27:56 +1000
0740b3bf14Reduce user agent mark boilerplate in router gen. Fix PetalBot detection.
Azareal
2021-02-17 10:07:11 +1000
3d2200bd18test in 1.16 too
Azareal
2021-02-17 09:23:29 +1000
6884c9afccspread love tweak variable names
Azareal
2021-01-25 09:16:54 +1000
70d66e7dd8fix has param logic fix paginator for search user by group
Azareal
2021-01-20 18:10:50 +1000