Commit Graph

150 Commits

Author SHA1 Message Date
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
fde06a2e27 Add README 2022-06-23 17:02:39 -04:00
f270898254 Add CI build target 2022-06-23 16:48:16 -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
Daniel J. Summers
f4d520e34b DB work
Wrapped all Filter and Merge lambdas in a ReqlFunction1 constructor
(which made them work); fixed some ReQL logic errors; removed
RunListAsync extension and changed calls to RunResultAsync<* list>
2016-09-18 22:20:10 -05:00
Daniel J. Summers
3f9665a2e6 IT LIVES! (on dotnet core)
Commented out RSS feed stuff dependent on SyndicationFeed; revamped
bootstrapper to make everything work in the proper order; qualified
resource name in Resources project
2016-09-18 15:01:16 -05:00
Daniel J. Summers
1c3e84f5ec .NET Core / Nancy 2 migration in progress
Only 55 build errors to go! :/  What remains is things that do not exist
in .NET Core yet, or API changes (specifically with Nancy and NodaTime).
2016-08-22 22:39:49 -05:00
Daniel J. Summers
710004dfc4 Huge repo reorganization
In no particular order...
- Created projects using F# generator, using Paket and FAKE
- Split "entities" into their own project, and created interface for
data functions required on those entities
- Renamed "data" project and used it as an implementation of data access
- Created "logic" layer that takes the data interface, and does the
non-persistence-related manipulation of items
- Moved "web" project to "app", and modified Nancy modules to utilize
Logic project and data interface instead of Data project and RethinkDB
connection
- Created test placeholder project; will be filling that out shortly
(TAD?)
2016-08-06 13:55:49 -05:00
Daniel J. Summers
8194649018 Fixed casing
Missed a few camel-to-Pascal case changes in document strings
2016-08-04 08:04:50 -05:00
Daniel J. Summers
e7fcd1676f Pascal entity fields still WIP 2016-07-28 22:52:44 -05:00
Daniel J. Summers
b9464f9600 App-level Config / code style
config.json now controls encryption and salt for both passwords and
forms authentication; data-config.json options are now under the "data"
key in config.json.

Unaligned ->'s throughout code per F# design guidelines, pulled out some
longer lambdas into their own let bindings within the method/function
scope, added qualified access attributes to smaller constant-type
modules
2016-07-27 22:36:28 -05:00
Daniel J. Summers
ac8fa084d1 PascalCase record members
Contrary to some examples, the official design guidelines for F# state
that these should be PascalCase rather than camelCase.  Also, while the
projects are still "myWebLog", the namespaces and DLLs are now
"MyWebLog". (never intended it to be the other way, really...)
2016-07-26 23:17:13 -05:00
Daniel J. Summers
2574501ccd RSS take 2 / page edit
RSS now generates for /feed, and ?format[atom|rss|rss2]; page list shows
updated date/time, page edit page loads
2016-07-26 08:03:46 -05:00
Daniel J. Summers
7538b9ef26 RSS
Added first cut of RSS feed; added links to head of default theme's
layout template
2016-07-25 22:39:38 -05:00
Daniel J. Summers
d3712dc562 Category / tag lists, logo
Category and tag list pages now work; added footer logo to default theme
with version and page load time tooltip
2016-07-25 19:54:45 -05:00
Daniel J. Summers
7c99da8cb5 User logon and list fixes
User logon now works; tweaked queries and display items on post, page,
and category list pages
2016-07-23 13:44:49 -05:00
Daniel J. Summers
197a19d339 page list
The page list is now populated
2016-07-21 08:05:07 -05:00
Daniel J. Summers
1a83727bc7 Adios, pretty Rethink functions...
The wrapper functions around RethinkDB calls were causing more problems
than they were helping to eliminate; the data code doesn't look very
F#-y, but it works much better now.
2016-07-19 22:44:39 -05:00
Daniel J. Summers
f6c3abfcac Indexes and subtitle
Refactored index creation to a much more functional approach; fixed
issue where subtitle was displaying Some(subtitle)
2016-07-18 23:03:44 -05:00
Daniel J. Summers
f66c3e3c58 RethinkDB / static file fixes
Fixed atom/cursor distinction on some RethinkDB queries; added code to
attach static content for themes at [theme-name]
2016-07-17 21:57:13 -05:00
Daniel J. Summers
61d37c0530 start up work
IndexWait was using the wrong run helper; wrote code to serve theme
content under [theme-name]/; set view files to copy on build
2016-07-13 07:56:07 -05:00
Daniel J. Summers
84e6e856f5 tag/category post pages, moved themes
The "themes" directory will be used as the customization point
2016-07-12 22:26:00 -05:00
Daniel J. Summers
08ee8990d3 category / part of page
Category editing pages done; page list and delete are done
2016-07-11 22:04:18 -05:00
Daniel J. Summers
2e8d002e30 single post page / admin dashboard
need to go back and revisit dynamic interop and the admin dashboard to
see if that can be one query instead of 3
2016-07-09 23:21:23 -05:00
Daniel J. Summers
6b24d416fc post edit page
The majority of the changes in this commit have to do with the post edit
page; also caught up resource strings that hadn't been actually put in
Resources.resx yet
2016-07-09 21:11:50 -05:00
Daniel J. Summers
3656bb384c Another interim commit
Home page and some post stuff written
2016-07-08 23:18:44 -05:00
Daniel J. Summers
b86ba7b6f6 Interim commit
Nowhere close to executable (though everything builds)
2016-07-07 22:57:14 -05:00
Daniel J. Summers
99b3c14ec6 Initial commit 2016-07-07 07:21:41 -05:00