Matt Baer
bdc4f270f8
Support editing About and Privacy pages from Admin panel
This allows admin to edit these pages from the web, using Markdown. It
also dynamically loads information on those pages now, and makes loading
`pages` templates a little easier to find in the code / more explicit.
It requires this new schema change:
CREATE TABLE IF NOT EXISTS `appcontent` (
`id` varchar(36) NOT NULL,
`content` mediumtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
This closes T533
5 роки тому
Matt Baer
7d87aad55a
Add basic admin dashboard with app stats
Start of T538
5 роки тому
Matt Baer
99a10a2563
Accept different `created` time on post publish
This helps with post importing and clients that want to support post
scheduling. It also changes how Collection.ForPublic() works, no longer
resetting the ID.
Closes T532
5 роки тому
Matt Baer
7321f6d5a0
Upgrade Lora to v2.202 (cyrillic)
This fixes things like em-dashes and adds new glyphs.
5 роки тому
Matt Baer
b58cb1e541
Fix Novel blog post order in feeds and outbox
5 роки тому
Matt Baer
2ad2270973
Merge branch 'master' of github.com:writeas/writefreely
5 роки тому
Matt Baer
093837b3a9
Fix wrong collection data in feed
Previously the logic was mixed up -- multi-user blogs would always load
collection number 1.
5 роки тому
Matt Baer
f7cc3764d0
Merge pull request #29 from BenOvermyer/improve-docker-workflow
Improved the Docker dev workflow slightly.
5 роки тому
Ben Overmyer
2de37a4ddb
Improved the Docker dev workflow slightly.
5 роки тому
Matt Baer
ad1180f202
Bump version to 0.3
5 роки тому
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.
5 роки тому
Matt Baer
778098d925
Remove JS editor remnants
This was another issue mentioned in #28
5 роки тому
Matt Baer
a0f8a2df3b
Fix MathJax value not sticking
This closes #28
5 роки тому
Matt Baer
3595c8163c
Use Accept ID on blog's origin
instead of the requesting user's. This closes #16
5 роки тому
Matt Baer
ed1b77ea3b
Support outputting version with -v flag
5 роки тому
Matt Baer
58d163d2e0
Properly handle failed AP requests
5 роки тому
Matt Baer
0eac9251c0
Add location to MySQL connection string
This should address #23
5 роки тому
Matt Baer
9d42d89a27
Fix "view blog" links on customize page in single mode
This closes #21
5 роки тому
Matt Baer
9016f87041
Add --reset-pass option for admin pass reset
Usage: writefreely --reset-pass <username>
This closes #25 , closes T534
5 роки тому
Matt Baer
8c851545f6
Merge branch 'master' of github.com:writeas/writefreely
5 роки тому
Matt Baer
6cede306b9
Merge pull request #24 from TheJF/add_dockerfile_and_docker-compose
Add Dockerfile and Docker Compose files
5 роки тому
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.
5 роки тому
Matt Baer
b1686b1d46
Add --init-db flag to create schema in app
Part of T530
5 роки тому
Matt Baer
6220e55559
Provide default `updated` value
This addresses #18
5 роки тому
Matt Baer
bf44236748
Bump version to 0.2.1
5 роки тому
Matt Baer
ac3d454f22
Include default `posts`.`privacy` value on post creation
This closes #7
5 роки тому
Matt Baer
efbba9e1ba
Reuse statement on post insert
5 роки тому
Matt Baer
8a3974c27d
Merge branch 'master' of github.com:writeas/writefreely
5 роки тому
Matt Baer
3576ab15d1
Create issue templates
5 роки тому
Matt Baer
1836735499
Add login link on single-user blog
This closes #15
5 роки тому
Matt Baer
ecac59bf62
Fix Accept IDs
Prepend with hash, not hyphen
This closes #16
5 роки тому
Matt Baer
78953f27f0
Fix badge
5 роки тому
Matt Baer
002d0e6309
Bump version to 0.2
5 роки тому
Matt Baer
b8ce944b5c
Add IRC badge in README
5 роки тому
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.
5 роки тому
Matt Baer
96c197453d
Fix key loading on Windows + move paths into vars
This uses filepath.Join() to make sure they always load correctly
5 роки тому
Matt Baer
561568343a
Use avatar as blog link social media image
5 роки тому
Matt Baer
c996ae1cad
Add To and CC on Create activities
Part of #8
5 роки тому
Matt Baer
393f6d6834
Add ID on Accept activities
Part of #8
5 роки тому
Matt Baer
bbed72ff6b
Remove unneeded followers column from remoteusers
To migrate:
ALTER TABLE `remoteusers` DROP `followers`;
5 роки тому
Matt Baer
a0ac7bbbcd
Insert missing default values on post creation
- view_count
This closes #7
5 роки тому
Matt Baer
426fa01fb4
Explain where to post questions, feedback, bugs
5 роки тому
Matt Baer
704558114d
Remove r.Host from server logs
5 роки тому
Matt Baer
7538fa68bc
Insert default values on collection creation
This fixes MySQL errors about missing default values.
5 роки тому
Matt Baer
331d76f75e
Fix overflowing green bg in setup titles
5 роки тому
Matt Baer
8db0afabf6
Show number of followers on stats page
5 роки тому
Matt Baer
1cb593fd8c
Fix unnecessarily connecting to DB after multi-user config
5 роки тому
Matt Baer
ae019e4dc3
Show error when ListenAndServe fails
and exit with 1
5 роки тому
Matt Baer
59f436052e
Add info about running in production
5 роки тому
Matt Baer
5920578c70
Add links about instances in README
5 роки тому