Matt Baer
e525bc32a7
Use language-specific dash in post titles
...
This closes #1
6 years ago
Matt Baer
69eab50f42
Create darwin archives with macos in the name
...
(not "darwin")
6 years ago
Matt Baer
1274914207
Add copyright / license notices to .go files
6 years ago
Matt Baer
7f5551105a
Fix metadata update redirect on single-user instances
...
Fixes #50
6 years ago
Matt Baer
1439c8c359
Add --create-user option for regular user
...
This supports creating a regular user via the command-line.
6 years ago
Matt Baer
5e5b283daf
Validate username in admin user creation process
...
This runs usernames through the same checks as the web interface,
ensuring no invalid user is created, such as user_name or userName.
This closes #49
6 years ago
Matt Baer
852ca5eea4
Merge branch 'master' of github.com:writeas/writefreely
6 years ago
Matt Baer
88e1c65939
Merge pull request #48 from TeDomum/master
...
Fix the Docker build when installing go-sqlite
6 years ago
Matt Baer
f99244b93f
Factor out admin user creation logic
6 years ago
Matt Baer
13bf5b6638
Include max number of blogs in nodeinfo
6 years ago
kaiyou
38184f4d13
Fix the Docker build when installing go-sqlite
...
Go-SQLite requires sqlite library headers and gcc.
6 years ago
Matt Baer
11de25237d
Fix db.Ping() call
6 years ago
Matt Baer
dad79adfd2
Update features list
...
And Quick Start intro
6 years ago
Matt Baer
2178b4abf2
Check database connection on startup
6 years ago
Matt Baer
3fab9f6439
Add missing CSS for highlightjs
6 years ago
Matt Baer
8beccaf6c2
Reserve "community" username
6 years ago
Matt Baer
4b8d5e3e37
Bump version to 0.6.0
6 years ago
Matt Baer
25a68d0c0e
Add Reader section
...
This adds a "Reader" section of the site for admins who want to enable
it for their instance. That means visitors can go to /read and see who
has publicly shared their writing. They can also follow all public posts
via RSS by going to /read/feed/. Writers on an instance with this
`local_timeline` setting enabled can publish to the timeline by going
into their blog settings and choosing the "Public" visibility setting.
The `local_timeline` feature is disabled by default, as is the Public
setting on writer blogs. Enabling it adds a "Reader" navigation item and
enables the reader endpoints. This feature will also consume more
memory, as public posts are cached in memory for 10 minutes.
These changes include code ported over from Read.Write.as, and thus
include some experimental features like filtering public posts by tags
and authors. These features aren't well-tested or complete.
Closes T554
6 years ago
Matt Baer
7828bf6ba2
Merge branch 'develop'
6 years ago
Matt Baer
2422601e89
Merge pull request #45 from writeas/sqlite-support
...
SQLite support
6 years ago
Matt Baer
d3b120be75
Merge branch 'sqlite-support' into develop
6 years ago
Matt Baer
a3e287a77a
Make accesstokens.user_agent NULL by default
...
The field is currently unused in the app, and it was causing problems in
SQLite.
Ref T529
6 years ago
Matt Baer
9fb7777c33
Switch to xgo for cross-compilation
...
Ref T529
6 years ago
Matt Baer
111945bc5d
Add new -c [filename] option for supplying config file
...
This allows users to load a different configuration file instead of the
default config.ini. It works in combination with other configuration
actions, like --config and --create-config.
6 years ago
Matt Baer
20c77989ba
Update setup steps
6 years ago
Matt Baer
17c816477b
Add SQLite option to config process
...
Ref T529
6 years ago
Matt Baer
ba3d6ae64c
Support custom SQLite database file name
...
Ref T529
6 years ago
Matt Baer
c6851fee50
Fix duplicate key checks in SQLite
...
Ref T529
6 years ago
Matt Baer
4b780361bf
Fix upsert queries on SQLite
...
Ref T529
6 years ago
Matt Baer
026604b3dd
Fix pinned post content truncation with SQLite
...
This extracts the LEFT/SUBSTR logic into its own datastore.clip() method
that also works correctly with SQLite.
Ref T529
6 years ago
Matt Baer
daaa4564bb
Fix post `created` date in SQLite
...
We store times in UTC in all other places, but the post.Created logic
when creating a post meant that dates were being stored in a user's
local timezone. This fixes that.
Ref T529
6 years ago
Matt Baer
6f4c004e8c
Fix SQLite date format string
...
The formatted string was invalid before, causing date parsing to fail.
This fixes that.
Ref T529
6 years ago
Matt Baer
bc1b3fdfb7
Move NOW() calls to datastore.now() method
...
Ref T529
6 years ago
Matt Baer
7fab11b3c8
Move initial config loading to its own func
6 years ago
Matt Baer
afede80e87
Merge branch 'master' into sqlite-support
6 years ago
Matt Baer
9e466a6d23
Locally host MathJax
...
This closes T551
6 years ago
Matt Baer
860e8c0120
Locally host highlightjs
...
Part of T551
6 years ago
Matt Baer
e06b328785
Merge branch 'master' of github.com:writeas/writefreely
6 years ago
Matt Baer
df4cd9ed00
Add --create-admin option
...
This enables automated user creation by running:
writefreely --create-admin username:password
It will fail if an admin (first user) already exists, which makes this
suitable for use on both for single- and multi-user instances.
Closes T544
6 years ago
Brad Koehn
c2a3b4935c
Merge pull request #44 from TeDomum/master
...
Add openssl and root anchors for federation queries
6 years ago
kaiyou
d01d2c80b6
Add openssl and root anchors for federation queries
6 years ago
Matt Baer
8ceb165020
Bump version to 0.5
6 years ago
Matt Baer
cb2b30b379
Show stats on About page if public_stats enabled
...
Previously, it would only show the stats if federation was enabled.
6 years ago
Matt Baer
8cbc02d7cf
Hide unneeded config values in single-user mode
...
(in the admin UI.)
6 years ago
Matt Baer
cbf6ff54df
Add site_description config value
...
This changes what displays in the NodeInfo, and in the future might be
used for other things.
6 years ago
Matt Baer
573ce02739
Remove params from URL after loading admin panel
...
This ensures that refreshing the page doesn't include any past success /
failure messages.
6 years ago
Matt Baer
d2f89c6360
Open pages linked from admin UI in new window
6 years ago
Matt Baer
9fe4b09de5
Support editing some config values in admin UI
...
This is almost all of T541
6 years ago
Matt Baer
09a3fe09fe
Merge pull request #39 from mrvdb/codehighlight
...
Codehighlight, add support for all languages
6 years ago
Matt Baer
5fc41687be
Fix whitespace
6 years ago