Commit Graph

757 Commits

Author SHA1 Message Date
Matt Baer 2ea10939f2 Improve sign up
- Add server-side validation
- Normalize usernames
- Check username existence when signing up
- Tailor UI to whether federation is enabled or not
- Return user to form and show errors on sign up
2018-11-09 14:51:11 -05:00
Matt Baer 3609e8065b Fix template loading on Windows
Now we join paths correctly on all OSes. This should close #2.
2018-11-09 14:40:47 -05:00
Matt Baer 44e0657ef9 Update footer links with guide link, version num 2018-11-09 14:38:03 -05:00
Matt Baer c5e7e35205 Update copy on default pages
- Removes more mentions of Write.as
- Adds a default privacy policy
- Improves the About page
2018-11-09 14:37:31 -05:00
Matt Baer d6f23b54e3 Add RSS to outbound service nodeinfo 2018-11-08 13:38:08 -05:00
Matt Baer be31da2fe7 Tweak capitalization / spacing in Write Freely name
This affects nodeinfo and ActivityPub requests
2018-11-08 13:37:42 -05:00
Matt Baer 254655d853 Log more when building 2018-11-08 13:02:15 -05:00
Matt Baer 35ebbc1a10 Update Travis badge
Before, it used the develop branch
2018-11-08 13:00:52 -05:00
Matt Baer 741292668a Get dependencies before building 2018-11-08 12:56:14 -05:00
Matt Baer 6867ac07b4 Update Makefile with new commands, fixes
- Fixes make clean
- Changes make to make ui
- Generates keys on make install
- Adds make run, make build
2018-11-08 12:45:59 -05:00
Matt Baer 2e52b8cf55 Remove extraneous params in Sprintf calls 2018-11-08 12:32:38 -05:00
Matt Baer 771d0a8d2f Use hostname in AP requests' User-Agent header 2018-11-08 12:08:48 -05:00
Matt Baer 6a571950a2 Fix ActivityPub endpoint URLs 2018-11-08 11:26:02 -05:00
Matt Baer 9149e1f120 Relax root route matching
This is mostly unnecessary, and ensures users don't get confused when
their site doesn't show up because the server isn't seeing a
correctly-set Host header.
2018-11-08 10:39:45 -05:00
Matt Baer d7927779db Tweak README copy 2018-11-08 01:55:50 -05:00
Matt Baer 92eadc9eae Add install instructions to README 2018-11-08 01:34:23 -05:00
Matt Baer 55ada67170 Fill in remaining missing pieces
- Database schema changes, removing obsolete custom domain-related code
- Missing user structs
- Setup verbiage changes
- Missing routes
- Missing error messages
2018-11-08 01:33:26 -05:00
Matt Baer 6dbf0c8764 Add ActivityPub components, routes, handlers 2018-11-08 01:28:08 -05:00
Matt Baer 5e53a1788d Add user management pages 2018-11-08 01:23:08 -05:00
Matt Baer ebeacff43c Add collection handlers, routes, feeds, sitemaps 2018-11-08 01:22:18 -05:00
Matt Baer af872127c6 Add user-facing templates and pages 2018-11-08 01:13:00 -05:00
Matt Baer 8f08de02b8 Add account handlers 2018-11-08 01:03:31 -05:00
Matt Baer 48f86edb3f Add missing webfont.js 2018-11-08 00:12:19 -05:00
Matt Baer 86e7ba2579 Add editor
This includes the '/' route handler
2018-11-08 00:11:42 -05:00
Matt Baer a30fc5b52b Add handler, page, template loading 2018-11-07 23:50:50 -05:00
Matt Baer 3afdd8c1b4 Add backend post handling, endpoints, rendering 2018-11-07 23:43:11 -05:00
Matt Baer 0567564905 Add LESS styles, fonts, icons, CSS generation 2018-11-07 22:33:13 -05:00
Matt Baer 18b9b2124e Add database schema 2018-11-07 22:17:15 -05:00
Matt Baer a3b7b260c5 Add debugging flag
This also includes a new Dev config options
2018-11-07 22:13:16 -05:00
Matt Baer 59ea5da521 Add login and post cache helpers 2018-11-07 22:07:33 -05:00
Matt Baer 8ab29d89da Add MaxBlogs config value
Plus update copy / options / templates in the config process.
2018-11-07 22:06:34 -05:00
Matt Baer 342542444d Add contributing guidelines 2018-11-07 17:45:36 -05:00
Matt Baer 3e1d3530ad Fetch collection description with user collections 2018-11-06 13:30:15 -05:00
Matt Baer f512f983ec Use AGPL 2018-10-29 10:06:45 -04:00
Matt Baer e6f1291189 Move Host config value from Server -> App 2018-10-27 17:02:40 -04:00
Matt Baer ad3b813690 Add favicon 2018-10-27 13:19:33 -04:00
Matt Baer ea098260e2 Fix filename in email encryption key generation 2018-10-27 13:17:54 -04:00
Matt Baer cc224db6e6 Add interactive configuration
This adds a new --config flag and rearranges some config fields.
2018-10-25 09:15:10 -04:00
Matt Baer 6bdb7a1c1c Output config saving errors 2018-10-24 14:21:42 -04:00
Matt Baer 1a6f61690e Add NodeInfo endpoints
Includes new instance stats and the new option to show user stats, as
well.
2018-10-17 19:25:09 -04:00
Matt Baer 39477cfcab Fix parse package import 2018-10-16 23:49:01 -04:00
Matt Baer bab5e42299 Add author package 2018-10-16 23:27:04 -04:00
Matt Baer 6b25d79b2e Update GitHub repo URL 2018-10-16 22:51:42 -04:00
Matt Baer 4905288201 Use a better description in README 2018-10-16 22:41:47 -04:00
Matt Baer 0c1e1dd57e Add data layer
This includes config changes, collections, posts, some post rendering
funcs, and actual database connection when the server starts up.
2018-10-16 22:31:27 -04:00
Matt Baer f7430fb8bc Clean up .gitignore 2018-10-16 20:41:54 -04:00
Matt Baer 62abc11142 Add web session management 2018-10-16 20:31:07 -04:00
Matt Baer af601d7b0c Add --create-config flag to generate default config 2018-10-16 16:57:55 -04:00
Matt Baer 5034cfdf11 Update header with new name
Also, add badges
2018-10-15 15:28:58 -04:00
Matt Baer 16473c97b7 Create basic server
Includes app config and some initialization
2018-10-15 14:44:15 -04:00