Commit Graph

757 Commits

Author SHA1 Message Date
Matt Baer ad1180f202 Bump version to 0.3 2018-11-16 13:20:40 -05:00
Matt Baer 8e6d0daa06 Federate draft when published to a blog
This now sends out a `Create` activity when a post is moved from a draft
to a blog.

This closes #9. Closes T526.
2018-11-16 12:42:21 -05:00
Matt Baer 778098d925 Remove JS editor remnants
This was another issue mentioned in #28
2018-11-16 12:20:36 -05:00
Matt Baer a0f8a2df3b Fix MathJax value not sticking
This closes #28
2018-11-16 12:19:56 -05:00
Matt Baer 3595c8163c Use Accept ID on blog's origin
instead of the requesting user's. This closes #16
2018-11-15 17:05:33 -05:00
Matt Baer ed1b77ea3b Support outputting version with -v flag 2018-11-15 14:51:03 -05:00
Matt Baer 58d163d2e0 Properly handle failed AP requests 2018-11-14 18:30:24 -05:00
Matt Baer 0eac9251c0 Add location to MySQL connection string
This should address #23
2018-11-14 17:47:58 -05:00
Matt Baer 9d42d89a27 Fix "view blog" links on customize page in single mode
This closes #21
2018-11-14 15:37:10 -05:00
Matt Baer 9016f87041 Add --reset-pass option for admin pass reset
Usage: writefreely --reset-pass <username>

This closes #25, closes T534
2018-11-14 15:03:22 -05:00
Matt Baer 8c851545f6 Merge branch 'master' of github.com:writeas/writefreely 2018-11-14 13:16:49 -05:00
Matt Baer 6cede306b9
Merge pull request #24 from TheJF/add_dockerfile_and_docker-compose
Add Dockerfile and Docker Compose files
2018-11-14 10:24:27 -05:00
Jean-Francois Arseneau 5b393309a5 Add Dockerfile and Docker Compose files
This adds the first version of a Dockerfile, built on an Alpine Linux variation of the golang image, as well as a Docker Compose file that spins up both a MariaDB and the instance. It also updates the README with instructions on how to get Write Freely running with this setup.
2018-11-13 20:24:06 -08:00
Matt Baer b1686b1d46 Add --init-db flag to create schema in app
Part of T530
2018-11-13 13:04:52 -05:00
Matt Baer 6220e55559 Provide default `updated` value
This addresses #18
2018-11-13 08:52:42 -05:00
Matt Baer bf44236748 Bump version to 0.2.1 2018-11-12 21:02:45 -05:00
Matt Baer ac3d454f22 Include default `posts`.`privacy` value on post creation
This closes #7
2018-11-12 21:00:54 -05:00
Matt Baer efbba9e1ba Reuse statement on post insert 2018-11-12 20:51:04 -05:00
Matt Baer 8a3974c27d Merge branch 'master' of github.com:writeas/writefreely 2018-11-12 20:13:15 -05:00
Matt Baer 3576ab15d1 Create issue templates 2018-11-12 20:12:31 -05:00
Matt Baer 1836735499 Add login link on single-user blog
This closes #15
2018-11-12 19:47:14 -05:00
Matt Baer ecac59bf62 Fix Accept IDs
Prepend with hash, not hyphen

This closes #16
2018-11-12 19:31:21 -05:00
Matt Baer 78953f27f0 Fix badge 2018-11-12 13:40:38 -05:00
Matt Baer 002d0e6309 Bump version to 0.2 2018-11-11 18:37:30 -05:00
Matt Baer b8ce944b5c Add IRC badge in README 2018-11-11 18:37:13 -05:00
Matt Baer 7bc873580c Move key generation to app from keys.sh
This eliminates an external dependency needed for install, and ensures
the app can run on Windows.
2018-11-11 17:52:24 -05:00
Matt Baer 96c197453d Fix key loading on Windows + move paths into vars
This uses filepath.Join() to make sure they always load correctly
2018-11-11 17:25:34 -05:00
Matt Baer 561568343a Use avatar as blog link social media image 2018-11-11 15:34:26 -05:00
Matt Baer c996ae1cad Add To and CC on Create activities
Part of #8
2018-11-11 13:11:01 -05:00
Matt Baer 393f6d6834 Add ID on Accept activities
Part of #8
2018-11-11 13:10:39 -05:00
Matt Baer bbed72ff6b Remove unneeded followers column from remoteusers
To migrate:

  ALTER TABLE `remoteusers` DROP `followers`;
2018-11-11 12:43:24 -05:00
Matt Baer a0ac7bbbcd Insert missing default values on post creation
- view_count

This closes #7
2018-11-11 10:31:37 -05:00
Matt Baer 426fa01fb4 Explain where to post questions, feedback, bugs 2018-11-11 10:30:50 -05:00
Matt Baer 704558114d Remove r.Host from server logs 2018-11-11 09:40:18 -05:00
Matt Baer 7538fa68bc Insert default values on collection creation
This fixes MySQL errors about missing default values.
2018-11-11 09:35:01 -05:00
Matt Baer 331d76f75e Fix overflowing green bg in setup titles 2018-11-10 21:44:41 -05:00
Matt Baer 8db0afabf6 Show number of followers on stats page 2018-11-10 20:56:36 -05:00
Matt Baer 1cb593fd8c Fix unnecessarily connecting to DB after multi-user config 2018-11-10 20:43:00 -05:00
Matt Baer ae019e4dc3 Show error when ListenAndServe fails
and exit with 1
2018-11-10 20:41:35 -05:00
Matt Baer 59f436052e Add info about running in production 2018-11-10 16:33:56 -05:00
Matt Baer 5920578c70 Add links about instances in README 2018-11-10 16:19:05 -05:00
Matt Baer 8a8db3be53 Support retrieving posts as AS2 object
Previously this was only supported on
/api/collections/{alias}/posts/{id} -- this also allows it on
/api/posts/{id}, so things like `Announce`s work.

This closes #4
2018-11-10 01:29:48 -05:00
Matt Baer 3bf10d8074 Remove default value for `posts`.`updated`
This closes #3
2018-11-10 00:28:19 -05:00
Matt Baer a6478f1b1d Create blog during config for single-user blogs 2018-11-09 22:16:13 -05:00
Matt Baer 486fb665ad Remove unnecessary password check on log out 2018-11-09 22:12:18 -05:00
Matt Baer 001fc8bb2d Fully support single-user mode
- New editor nav
- New backend nav
- Support for drafts
- Different footers on backend
2018-11-09 22:10:46 -05:00
Matt Baer aecbc3c014 Support fuzzy username matching on login
This allows logging in with a non-normalized username.
2018-11-09 21:55:35 -05:00
Matt Baer 5a062eb437 Include flashes on signup page 2018-11-09 21:14:22 -05:00
Matt Baer c800f8c9a2 Fix email display in Account Settings 2018-11-09 20:00:10 -05:00
Matt Baer 5614bb448a Show "closed registration" message on landing page 2018-11-09 19:55:07 -05:00