Robin Malley
a16f2dfe02
Mark unit test as slow.
...
Mark a test as slow that runs fuzzing.
2021-09-11 21:46:23 +00:00
Robin Malley
ffc34295e9
Add a log in the mock environment
...
Add a function that implements `log()` in the mock environment.
2021-09-11 21:45:29 +00:00
Robin Malley
e0a8e01513
Move some tests to pending
...
Write a bunch of unit tests and mark some of them as pending.
2021-09-11 21:44:57 +00:00
Robin Malley
ab6572314e
Exclude slow tests in make test
...
Exclude tests that take a long time to run in the `make test`
to speed up automated unit testing.
2021-09-11 21:43:32 +00:00
Robin Malley
41f68f45b8
Add more tests
2021-08-27 01:09:29 +00:00
Robin Malley
d11695b5eb
Remove extra prints
2021-08-27 01:08:51 +00:00
Robin Malley
eac2a38c6c
Add a logout button
...
Add a button so users know if they're logged in.
2021-08-27 01:08:30 +00:00
Robin Malley
4913e7765e
Extra cache dirtying
...
Some pages weren't getting dirtied appropriately on change.
2021-08-27 01:08:02 +00:00
Robin Malley
f88ec0e22a
Use database from config
...
Use the database file that came from the config file.
2021-08-27 01:06:55 +00:00
Robin Malley
7e5e38c3f2
Add database to config
...
Add the database to the config file so we can override it for
unittests.
2021-08-27 01:06:24 +00:00
Robin Malley
e3468136e5
Add more stuff to cloc
...
Count etlua as html files.
2021-08-27 01:05:18 +00:00
Robin Malley
3db891800b
Improve cacheing
...
Caches domain/a and author.domain/a as the same page.
2021-07-28 00:39:04 +00:00
Robin Malley
3b6a631dc4
hotfix
2021-04-09 20:15:01 +00:00
Robin Malley
e5d1904b1f
Try to hint reader mode better.
...
Line breaks in the imageboard parser now use an empty paragraph tag
to try to hint that the page should use reader mode.
2021-04-09 20:03:24 +00:00
Robin Malley
7cc5e8d0ef
Add information to failed api requests
...
Add addition information when requests for tag suggestions fail.
2021-04-09 19:17:22 +00:00
Robin Malley
9e51de6c8e
Fix CSRF
...
Domain name was hardcoded, use the config file instead.
2021-04-09 19:16:36 +00:00
Robin Malley
fd87cf95ee
Add bookmark script.
...
Add a script that saves the position on read pages to localstorage, and
restores the page position when the page is reloaded.
2021-04-04 06:11:55 +00:00
Robin Malley
fdf0b67f3a
Remove prints.
...
Remove some extranious prints.
2021-04-04 06:11:14 +00:00
Robin Malley
33a23ef20c
Set samesite on cookies.
...
Set the SameSite attribute on all cookies issed to Lax.
2021-04-04 06:03:03 +00:00
Robin Malley
58565bc088
Remove extra print statements.
2021-04-04 05:14:53 +00:00
Robin Malley
73df8d400e
Updates to imageboard parser
2021-04-04 05:13:09 +00:00
Robin Malley
53b1a19c05
Fix hangups in imageboard parser
...
Fix some hangups in the imageboard parser by allowing multiple
markup characters in a row to immediately close the markup
segment instead of going forward to try to find a non-markup
segment to include.
2021-03-20 06:39:46 +00:00
Robin Malley
55923a9cd6
Update readme
2021-02-22 07:46:57 +00:00
Robin Malley
8cf7344e7b
Minor fixups
...
Add dark theme to tag suggestions, and remove printf() call.
2021-02-22 07:08:50 +00:00
Robin Malley
701800cfe2
Finish adding tag suggestions
...
Lots of changes, did an inital wack at adding tag suggestions.
2021-02-22 06:59:51 +00:00
Robin Malley
9d2c95bb33
fix
2021-02-14 07:56:28 +00:00
Robin Malley
896f452fa6
Start work on tag suggestions
...
Start working on getting tag suggestions for pasteing and editing pages.
2021-02-14 07:30:20 +00:00
Robin Malley
67de40c02b
Actually fix the url generation
2021-02-13 18:40:17 +00:00
Robin Malley
4eb5b4a7bd
Add some tools for interfaceing with smr
...
Add a script to reset passwords and another generate archives.
2021-02-09 02:41:41 +00:00
Robin Malley
0f17393cd8
Fix id<->url decoding
...
Some urls should have been url-encoded, fix this issue in a way
that won't break old urls
2021-02-09 02:40:57 +00:00
Robin Malley
45e1ba3fcb
Stop using unsafe characters
...
Several characters used for short path generation are unsafe to
use without escaping. Remove those.
2021-02-03 05:23:28 +00:00
Robin Malley
ec00fcaf08
Fix unit tests
...
Fix sanity unit tests, and do a lot more random testing
2021-02-03 04:30:27 +00:00
Robin Malley
879e89fa8d
Do more refactoring
...
Start merging the error pages into a single standardized error page
Lessen log spew when site is being crawled by robots
2021-02-03 04:09:12 +00:00
Robin Malley
7462b1e7ac
Add an archive
2021-02-03 03:41:22 +00:00
Robin Malley
c173fae026
Throw a more descriptive error temporarily
2021-01-26 02:12:42 +00:00
Robin Malley
4a99441008
Fix the Unlisted checkbox always being checked
...
Fixed a bug where the unlisted checkbox was always checked when
ending a post.
2021-01-26 01:20:40 +00:00
Robin Malley
1f5b113daa
Remove globals
...
Clean up a bunch of places where the global namespace was being
polluted by accident.
2021-01-17 05:10:16 +00:00
Robin Malley
6cd786be1a
Fix dependencies
2021-01-16 21:02:34 +00:00
Robin Malley
18d1f3ea87
Remove debugging prints
2021-01-16 21:02:20 +00:00
Robin Malley
2c732db22d
Fix make test
2021-01-16 21:01:31 +00:00
Robin Malley
861e53cc29
Add a comment
2021-01-16 20:59:56 +00:00
Robin Malley
c9ab25f65f
Fix +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
...
63 successes / 0 failures / 0 errors / 0 pending : 0.210397 seconds
2021-01-16 20:59:22 +00:00
Robin Malley
ff2e560a2c
Remove debug prints from hash function
2021-01-16 20:58:57 +00:00
Robin Malley
02efaf9631
Update tests
2021-01-16 20:58:04 +00:00
Robin Malley
d5a7d2be9f
Update readme
2021-01-11 03:35:25 +00:00
Robin Malley
1a2244b686
Finished up unlisted posts
...
Why does anon even want this feature?
2021-01-11 03:34:22 +00:00
Robin Malley
18f47bf708
Merge branch 'hotfix_tag_list' into master
2021-01-10 21:52:24 +00:00
Robin Malley
7001b992d9
fix not showing the correct number of extra tags
2021-01-10 21:42:19 +00:00
Robin Malley
85a730ebcb
started working on unlisted posts
2021-01-10 21:34:13 +00:00
Robin Malley
7d71b119c1
Fix plain parser
2021-01-04 03:48:36 +00:00