Commit Graph

173 Commits

Author SHA1 Message Date
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
7203fa5a38 Invalidate cache when theme uploaded (#12)
- Add episode to display page (leftover from #9)
- Show episode label based on structure (also #9)
2022-06-27 22:16:53 -04:00
16603bbcaf Render feed from episode (#9)
- Render chapter if present (#5)
- Render transcript if present (#8)
- Require transcript type if URL entered (#8)
2022-06-27 20:34:30 -04:00
80c65bcad6 Add episode fields to UI (#9)
- Add chapter fields (#5)
- Add transcript fields (#8)
2022-06-27 17:47:00 -04:00
9fbb1bb14d Add episode fields to post view model
Parts of #9 / #5 / #8
2022-06-27 07:36:29 -04:00
707b67c630 Reorganize SQLite data files
- Add episode data structure (#9)
- Add fields for chapters (#6) and transcripts (#8)
- Add fields for medium (#3), funding (#7), and GUID (#4)
- Fix RethinkDB restore problems (#10)
- Save custom feeds in SQLite (#11)
2022-06-24 21:56:07 -04:00
dfb0ff3b9c Fix RethinkDB restore (#10)
- Also fixed replacement base URL issue
2022-06-24 08:47:22 -04:00
a776d967ac Add build scripts
- Embed PDBs in assemblies
- Suppress warnings for complex tasks
2022-06-23 14:56:18 -04:00
0f66ca969d
Version 2, ready for beta 2022-06-22 20:35:12 -04:00
Daniel J. Summers
33dccf5822 Combined all F# code into one project
Less to migrate, less to maintain, and I'll never swap these out as
components; might as well get the ease of managing them all in one
project.
2016-12-04 22:05:50 -06:00
Daniel J. Summers
f5b65d320e -Kestrel +Suave
I could not get Kestrel to listen for requests on Linux, and Suave now
works with OWIN (and listens/responds on Linux as expected)
2016-12-03 22:37:13 -06:00
Daniel J. Summers
9d1a6395c9 Fixed problem between myWebLog and MyWebLog directories 2016-12-04 03:14:44 +00:00
Daniel J. Summers
47266817f6 A little housekeeping
- Simplified user message generation (Info is default level)
- Removed paket and FAKE files, as we're using the default .NET Core
build system
2016-11-12 08:52:53 -06:00
Daniel J. Summers
739fe3ff9c So close...
- Added comment display and counts
- Fixed problem with set-up-from-scratch bombing on index creation
- RSS feed is returning errors; need to determine why Nginx is
intercepting theme content requests
2016-11-11 22:44:23 -06:00
Daniel J. Summers
458b8308ae Page / Post edit pages work
Category in work
2016-11-11 16:28:15 -06:00
Daniel J. Summers
0d54fc2ec3 Admin tweaks plus
- Version now reports the correct version
- Post edit properly renders existing selected categories as checked,
and uses the description in the title attribute if it is present
- Created light/dark transparent logos

Ready to test the functionality of the admin area next...
2016-11-11 14:44:09 -06:00
Daniel J. Summers
ed9b8adc1c Log on works now
...but wait, there's more!
- Admin area dashboard works, list pages work
- Minor admin area style tweaks
2016-11-10 22:17:46 -06:00
Daniel J. Summers
1873f9d6fc Posts with many categories now render
- Fixed a problem with the RethinkDB query that was assembling
categories for a single post (yay, @1lann on Slack!)
- Finished conversion of data access functions to use async CEs
2016-11-08 09:47:33 -06:00
Daniel J. Summers
e5700727e9 Misc changes over the past month or so
- RSS feeds partially done
- All three initial target themes, as well as the default theme, display
properly
2016-11-07 22:17:00 -06:00