Matt Baer
b9d7d4ce24
Change default database name to writefreely
...
(not writeas)
2018-11-21 13:36:00 -05:00
Matt Baer
f3df2b4159
Use and validate database type before connecting
...
Just the start of changes needed for T529.
2018-11-21 13:10:10 -05:00
Matt Baer
82e45ef5ae
Mention Contributing Guide in README
2018-11-21 11:54:01 -05:00
Matt Baer
4c7969d808
Add AUTHORS.md
2018-11-21 11:46:23 -05:00
Brad Koehn
5039853edc
Updated Dockerfile to produce smaller image with minimum content and a few extra features; added .dockerignore
2018-11-21 10:38:56 -06:00
Matt Baer
8a5811e3e9
Fix About page link in Admin dash
2018-11-21 11:12:44 -05:00
Matt Baer
bf5ed00484
Include version in archives made by make release
2018-11-20 18:35:52 -05:00
Matt Baer
1b57ea6f37
Merge branch 'master' of github.com:writeas/writefreely
2018-11-20 16:36:52 -05:00
Marcel van der Boom
8144c9581d
Use the samen render common template for user pages
2018-11-20 22:11:53 +01:00
Marcel van der Boom
7181fd9d9e
Remove code for CodeHighlighting UI
...
We load it always, no need for a user config UI
2018-11-20 22:11:09 +01:00
Marcel van der Boom
a659acdc14
Bring all MathJax logic into one common template
...
Might as well do this right away, we're here anyway.
2018-11-20 22:01:25 +01:00
Marcel van der Boom
a82882fddc
Put the highlight logic into one common template
...
It now loads unconditionally and highlights all code blocks.
TODO: optimize to not load when there are no blocks
2018-11-20 21:51:39 +01:00
Marcel van der Boom
03ac402c37
Use the same highlightjs library everywhere
2018-11-20 18:37:56 +01:00
Marcel van der Boom
ed3ea37537
Merge branch 'master' into codehighlight
...
* master:
Don't automatically include "v" from git
Get versioninfo from the git repository
2018-11-20 18:24:36 +01:00
Matt Baer
a4751c7abf
Merge pull request #32 from mrvdb/versioninfo
...
Get versioninfo from the git repository
2018-11-20 12:18:18 -05:00
Marcel van der Boom
b030921691
Don't automatically include "v" from git
...
- "v" should not be part of the version (softwareVer variable is used
in other places)
- formatting
2018-11-20 18:14:02 +01:00
Marcel van der Boom
c25d0bef67
Get versioninfo from the git repository
...
Sets value of softwareVer during build
2018-11-20 14:21:13 +01:00
Marcel van der Boom
348d548793
Add code highlighting option
...
This is a first stab at having a configurable code highlighting option,
similar to the MathJax rendering option. This change makes a checkbox
in the settings for code highlighting using the highlightjs.org
library.
What works: code highlighting in multi-user env is like I would
expect. single and anon(?) needs work
Things to resolve/consider:
- does the .IsCode test for code highlighting need to stay? At least
this and that should use the same version of the highlight.js lib.
- can the common templating part be 'included' somehow?
- the anon vs single-user vs multi-user code is not completely
clear (to me)
- bring js to local instead of cloudfare cdn (perhaps combine with
MathJax)
2018-11-20 11:29:12 +01:00
Matt Baer
87ffafeb54
Remove keys.sh from make release
2018-11-18 22:31:32 -05:00
Matt Baer
64e52ba00d
Add make release
2018-11-18 22:29:35 -05:00
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
2018-11-18 21:58:50 -05:00
Matt Baer
7d87aad55a
Add basic admin dashboard with app stats
...
Start of T538
2018-11-18 20:18:22 -05:00
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
2018-11-18 14:39:50 -05:00
Matt Baer
7321f6d5a0
Upgrade Lora to v2.202 (cyrillic)
...
This fixes things like em-dashes and adds new glyphs.
2018-11-17 22:28:58 -05:00
Matt Baer
b58cb1e541
Fix Novel blog post order in feeds and outbox
2018-11-17 21:59:04 -05:00
Matt Baer
2ad2270973
Merge branch 'master' of github.com:writeas/writefreely
2018-11-17 21:57:59 -05:00
Matt Baer
093837b3a9
Fix wrong collection data in feed
...
Previously the logic was mixed up -- multi-user blogs would always load
collection number 1.
2018-11-17 21:51:14 -05:00
Matt Baer
f7cc3764d0
Merge pull request #29 from BenOvermyer/improve-docker-workflow
...
Improved the Docker dev workflow slightly.
2018-11-17 18:36:06 -05:00
Ben Overmyer
2de37a4ddb
Improved the Docker dev workflow slightly.
2018-11-16 14:53:42 -06:00
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