Commit Graph

191 Commits

Author SHA1 Message Date
182b33ae79 Add Category tests, implement for SQLite 2024-01-21 22:03:57 -05:00
3835ed984e Rearrange test files 2024-01-21 14:29:58 -05:00
1345074c71 Add framework for SQLite data tests 2024-01-21 14:26:02 -05:00
ffe6713b5e Add converter / utils tests 2024-01-21 09:17:01 -05:00
cfb3c3a287 Add JSON converter tests 2024-01-20 22:11:27 -05:00
d1a9606c5c Tweak admin theme changes
- Fix SQLite posts-by-tag query
- Fix "on disk" check for default theme
2024-01-20 17:58:24 -05:00
5ce84e18ca Fix SQLite page list query 2024-01-20 14:52:17 -05:00
a0ab99f737 Add unquoted relative URL support 2024-01-20 13:45:56 -05:00
d50056cd66 Finish view model tests 2024-01-20 11:56:40 -05:00
da5918b154 Update admin/default templates 2024-01-19 21:24:55 -05:00
9da9a94947 Add tests through mng rev 2024-01-18 19:23:22 -05:00
cbe391fa89 Add edit redirect tests 2024-01-15 19:04:01 -05:00
cb94222558 Finish edit post model tests 2024-01-15 17:18:58 -05:00
888f56e75e WIP on edit post model tests 2024-01-14 13:59:46 -05:00
12c46c8204 Add edit page model tests 2024-01-12 21:32:02 -05:00
29167eca6c Add podcast/user edit model tests
- Reformat test lists to save an indent
2024-01-10 22:11:48 -05:00
29cbf486db Split tests into separate files 2024-01-10 20:53:59 -05:00
10affa2def Add EditCategoryModel tests 2024-01-10 20:33:06 -05:00
ba42f84899 Add DisplayUser tests 2024-01-09 21:47:46 -05:00
8ec7610ee3 Tweak domain tests 2024-01-09 18:11:31 -05:00
dc80388d65 Add more view model tests 2024-01-08 22:08:38 -05:00
66225298d2 Add some view model tests 2024-01-08 18:41:12 -05:00
5126e2029b Add tests for DataTypes 2024-01-06 22:29:06 -05:00
5c08049170 Finish SupportTypes tests 2024-01-06 21:35:51 -05:00
cac1174504 Add CommentStatus and ExplicitRating tests 2024-01-06 18:04:43 -05:00
2c052c1813 Add test project
- Create /data directory if necessary (#38)
2024-01-06 17:04:05 -05:00
75e13a5999 Add chapters waypoint flag (#6) 2024-01-05 18:57:06 -05:00
3226f882a3 Implement /data and /themes directories (#38)
This will allow volumes to be mounted for persistent data/themes
2024-01-05 17:32:38 -05:00
5a3d9f05f8 Rework migration; add PG 2.1 changes 2024-01-04 17:33:41 -05:00
b69b6c37a4 WIP on testing SQLite data store 2024-01-03 22:29:27 -05:00
dee2222eb1 Register serliazer for SQLite 2023-12-31 14:08:41 -05:00
1a50c68668 Migrate SQLite data to new library 2023-12-31 13:31:46 -05:00
e8d63793ba Migrate Postgres data to new library 2023-12-31 08:36:03 -05:00
7fb68d5583 Rename SQLite helper file 2023-12-19 21:26:06 -05:00
f461b10ebc First cut of SQLite doc library 2023-12-19 21:24:13 -05:00
bb4252f3c1 WIP on SQLite doc library 2023-12-19 18:30:34 -05:00
d330c97d9f WIP on SQLite doc library 2023-12-19 09:23:34 -05:00
e04c8b58e9 First cut of SQLite JSON doc complete
- Still needs testing
- Add revision deletes to PG web log delete
2023-12-17 23:00:57 -05:00
2062840a5e WIP on SQLite JSON documents
through TagMap done
2023-12-17 21:17:46 -05:00
58b83b8d28 WIP on SQLite JSON documents 2023-12-16 23:39:36 -05:00
a439430cc5 Update Postgres data implementation
Changes for doc library v2
2023-12-16 22:36:08 -05:00
cb02055d87 WIP on formatting 2023-12-16 20:38:37 -05:00
8ec84e8680 WIP on module/member conversion
View models complete
2023-12-16 17:59:33 -05:00
c3d615d10a WIP on module/member conversion
Data types complete
2023-12-16 14:05:45 -05:00
d8ce59a6cd WIP on module/member conversion
Support types done
2023-12-16 12:24:45 -05:00
5fe2077974 WIP on module/member conversion 2023-12-15 22:46:12 -05:00
7071d606f1 WIP on module/member conversion 2023-12-14 23:49:38 -05:00
ec2d43acde WIP on SQLite/JSON data 2023-12-13 15:43:35 -05:00
715e545ed5 Update deps
- Add .NET 8 target
- Remove ID param for Postgres doc calls
2023-12-13 14:17:53 -05:00
b84a0f711f Add chapter data type (#6) 2023-07-31 22:17:14 -04:00
79c304493c Add doc link to redirect page (#39)
- Tweak redirect list style
- Add rules to v2.0 backup restorations
2023-07-31 21:28:02 -04:00
f43c431278 Verify regex rules work correctly (#39)
- Remove debug for plain-text rules
- Update htmx libs to 1.9.4
2023-07-31 20:56:27 -04:00
693a1df34f Redirect plain-text rules (#39)
regex still untested
2023-07-30 22:26:30 -04:00
dc6b066e79 Rule add/edit/move/delete works (#39)
- Begin moving auth to route definition where practical
- Fix typo on post list page
2023-07-30 21:00:31 -04:00
3ef4499a90 Add redirect index page (#39)
- Bump version to 2.1
2023-07-28 22:07:13 -04:00
42d3280f67 Add redirect rule to data stores (#39) 2023-07-28 20:28:03 -04:00
ab9f2f577b Use PG lib data source singleton 2023-07-28 19:41:53 -04:00
9dd6ab70e9 Add Sqlite Docker file
- Fix import typo in RethinkDB upload restore
- Switch default Docker file to alpine image
2023-07-18 21:53:04 -04:00
5f5927c425 First cut of Docker files (#38)
- Fix canonical domain config detection (#37)
- Fix version insert for new SQLite dbs
- Bump version to 2.1
2023-07-08 21:26:11 -04:00
5b27ea5cd2 Add canonical domain support (#37)
- Update deps
2023-07-08 20:36:49 -04:00
7b325dc19e
v2 (#36)
* Use PostgreSQL JSON-based data implementation
* Fix back link on RSS settings page (#34)
* Show theme upload messages (#28)
* Fix admin page list paging (#35)
* Add db migrations for all stores
* Support both .NET 6 and 7
2023-02-26 13:01:21 -05:00
5f3daa1de9
v2 RC2 (#33)
* Add PostgreSQL back end (#30)
* Upgrade password storage (#32)
* Change podcast/episode storage for SQLite (#29)
* Move date/time handling to NodaTime (#31)
2022-08-21 18:56:18 -04:00
1ec664ad24 Fix casing on CLI usage examples 2022-08-01 07:46:53 -04:00
33698bd182 Reassign child cats when deleting parent cat (#27)
- Create common page/post edit field template (#25)
- Fix relative URL adjustment throughout
- Fix upload name sanitization regex
- Create modules within Admin handler module
- Enable/disable podcast episode fields on page load
- Fix upload destination casing in templates
- Tweak default theme to show no posts found on index template
- Update Bootstrap to 5.1.3 in default theme
2022-07-28 20:36:02 -04:00
6b49793fbb Change alerts to toasts (#25)
- Upgrade to Bootstrap 5.1.3
- Move RSS settings and tag mappings to web log settings (#25)
- Fix parameters in 2 SQLite queries
2022-07-27 21:38:46 -04:00
a8386d6c97 Add loading indicator for admin theme (#25) 2022-07-26 22:34:19 -04:00
b1ca48c2c5 Add docs link to admin header (#25)
- Change executable name in release packages
2022-07-26 20:37:18 -04:00
3189681021 Tweak admin UI templates (#25)
- Move user management under web log settings
- Move user self-update to my-info
- Return meaningful error if a template does not exist
- Tweak margins/paddings throughout
- Do not show headings on list pages if lists are empty
- Fix pagination styles for page/post list pages
2022-07-26 16:28:14 -04:00
ff9c08842b First cut at cache management (#23) 2022-07-24 23:55:00 -04:00
e103738d39 Prevent deletion if theme is in use (#20) 2022-07-24 19:26:36 -04:00
d854178255 Upload / delete themes (#20)
- Moved themes to section of installation admin page (will also implement #23 there)
2022-07-24 19:18:20 -04:00
0a32181e65 WIP on theme upload (#20) 2022-07-24 16:32:37 -04:00
81fe03b8f3 WIP on theme admin page (#20) 2022-07-22 21:19:19 -04:00
4514c4864d Load themes at startup (#20)
- Adjust release packaging (#20)
- Fix default theme for beta-5 changes (#24)
- Remove RethinkDB case fix (cleanup from #21)
- Bump versions for next release
2022-07-22 10:33:11 -04:00
99ccdebcc7 Delete user / admin clean-up (#19)
- Add CLI help (#22)
- Add constants for common view items
- Construct hashes with piped functions
2022-07-21 21:42:38 -04:00
59f385122b Add user add/edit (#19)
- Add makeHash function to simplify code around DotLiquid hashes
- Add context extension to determine if a user has an access level
- Add someTask function to simply Task.FromResult (Some x)
2022-07-20 23:13:16 -04:00
41ae1d8dad First cut of user admin page (#19) 2022-07-19 22:51:51 -04:00
1e987fdf72 Eliminate compiler warnings
- Change RethinkDB to use connection-string style settings
2022-07-19 20:59:53 -04:00
7eaad4a076 Clean up database names (#21)
- Moved user edit to "my info" (#19)
2022-07-18 20:05:10 -04:00
5fb3a73dcf Add user created and last seen on (#19)
- Updated view models / interfaces per F# naming guidelines
2022-07-17 23:10:30 -04:00
e0a03bfca9 Add upgrade-user CLI option (#19) 2022-07-17 15:50:33 -04:00
d30312c23f Add access restrictions to UI (#19)
- Vary default user access for new web logs (#19)
- Add htmx detection to not auth/404 handlers
- Bump version
2022-07-16 22:17:57 -04:00
eae1509d81 Add access restrictions to server routes (#19) 2022-07-16 17:32:18 -04:00
425223a3a8 Add access levels (#19)
- Remove authorization level
2022-07-16 15:51:58 -04:00
07aff16c3a Version bump 2022-07-16 13:38:44 -04:00
d290e6e8a6 Complete page / post revision maint (#13)
- Fix log on redirection
- Move page handlers to its own file
- Add version to admin area footer
- Move generator to HttpContext extension property
2022-07-16 12:33:34 -04:00
039d09aed5 WIP on page revisions (#13)
- Simplify redirectToGet usage
- Move a few functions to HttpContext extension properties
- Modify bare response to allow content not from a template
- Fix uploaded date/time handling
2022-07-15 22:51:51 -04:00
d667d09372 WIP on revision mgt template (#13) 2022-07-14 23:25:29 -04:00
2906c20efa Upgrade htmx to v1.8.0 (#18) 2022-07-14 18:55:52 -04:00
355ade8c87 Add slug and upload dest to settings (#2) 2022-07-07 12:42:37 -04:00
1d096d696b Add types to admin functions
- Change how functions are registered
2022-07-06 10:30:30 -04:00
ce3816a8ae Use web log slug for backup file name (#16) 2022-07-04 19:06:32 -04:00
879710a0a3 Add funding (#7)/GUID (#4)/medium (#3) to podcast
- Add info log for non-default DB connections
2022-07-04 18:40:32 -04:00
c957279162 Add and delete uploaded files (#2) 2022-07-04 13:19:16 -04:00
9307ace24a WIP on saving uploads (#2) 2022-07-01 20:59:21 -04:00
feada6f11f Add copy links to upload list (#2) 2022-06-30 18:56:24 -04:00
0567dff54a WIP on upload admin (#2) 2022-06-28 22:18:56 -04:00
c29bbc04ac WIP on uploads (#2)
- Add data types and fields
- Implement in both RethinkDB and SQLite
- Add uploads to backup/restore
- Add empty upload folder to project
- Add indexes to SQLite tables (#15)
2022-06-28 17:34:18 -04:00
46bd785a1f Make program executable (#14)
- Bump versions for next release
2022-06-28 08:39:43 -04:00
3203f1b2ee Bump versions 2022-06-28 06:33:38 -04:00