Matt Baer
ddabab041a
Merge pull request #543 from clarfonthey/unix-support
...
Add unix socket support
2023-04-07 11:46:08 -04:00
Matt Baer
a0f1e1821f
Delete socket file on server shutdown
2022-12-26 13:20:28 -05:00
Matt Baer
f84b4b0f74
Use more idiomatic variable initialization for network/protocol
2022-12-26 13:18:45 -05:00
Matt Baer
7a84d27dca
Re-use err variable, instead of creating new error vars
2022-12-26 13:17:56 -05:00
mathew
6903dd4349
Replace go-bindata with standard go:embed
2022-12-24 17:59:19 -06:00
Matt Baer
01c920b253
Merge branch 'develop' into custom-css
2022-11-14 23:41:36 -05:00
Matt Baer
d08f067e9c
Change copyright notices to Musing Studio LLC
...
A Bunch Tell is now Musing Studio.
2022-11-10 23:49:16 -05:00
Matt Baer
b74fd70ab5
Bump version to v0.13.2
2022-07-22 00:22:26 -04:00
ltdk
baaf0580f5
Add unix socket support
...
Enables listening on unix sockets by specifying a file path for the bind address
2022-05-10 23:51:13 -04:00
Matt Baer
9ee83ae885
Support custom instance-level stylesheet
...
Will render if a file exists at: static/local/custom.css
Ref T563
2022-01-31 22:18:52 -05:00
Matt Baer
940d220bf3
Bump version to 0.13.1
2021-06-30 10:33:08 -04:00
Matt Baer
672fa10b94
Merge pull request #477 from writefreely/fix-sqlite-reader-lock
...
Fix SQLite database lock on Reader
2021-06-30 09:56:16 -04:00
Matt Baer
ed771380fb
Fix SQLite database lock on Reader
...
Fetching posts for the Reader involves an additional query on each row,
which previously ran into our connection limit to the database and caused
it to lock up. This increases the connection limit from 1 to 2, to allow
this.
This is meant to be a quick, safe fix, but there could always be a better
solution.
Fixes #467
2021-06-25 12:10:19 -04:00
Matt Baer
720a8c1975
Don't include img alt text in post Summary()
...
Fixes #306
2021-06-25 11:16:03 -04:00
Matt Baer
85fb2a952b
Support setting `description` on user registration
2021-06-07 14:53:22 -04:00
Matt Baer
14f5100d6a
Bump version to 0.13.0
2021-05-08 15:31:32 -04:00
Matt Baer
b092421f6e
Add Cross-Site Request Forgery (CSRF) protection on account deletion
...
This requires admins to generate a new encryption key with:
writefreely keys generate
Ref T319
2021-04-22 12:41:54 -04:00
Matt Baer
484d2736ce
Update repo URL to writefreely org
...
From the writeas org on GitHub.
2021-04-06 17:24:07 -04:00
Matt Baer
9aeeb52bdb
Fix nil pointer on instance-wide actor lookup
...
Ref T820
2021-03-08 12:50:08 -05:00
Matt Baer
9484880bca
Sign actor fetch request
...
This fixes federation with Mastodon instances that have Authorized
Fetch turned on by signing the GET request to fetch the actor when
a blog is first followed.
Ref T820
2021-03-08 11:43:38 -05:00
Matt Baer
4db2cb8986
Templatize OAuth buttons across signup and login pages
...
This moves fields into the `OAuthButtons` struct and puts the buttons into templates/includes/oauth.tmpl.
2020-08-19 13:31:07 -04:00
Matt Baer
95273697f4
Use consistent server User-Agent across application
2020-08-18 12:22:04 -04:00
Pascal Richier
d3f1e40010
Merge branch 'develop' into feature/generic-oauth
2020-08-16 19:58:01 +02:00
Matt Baer
6dbc753ecb
Merge branch 'develop' into gopher
2020-07-23 11:47:49 -04:00
Matt Baer
dbe36861c3
Prevent Gopher server start on Private instance
2020-07-23 11:11:11 -04:00
prichier
f6aa99e591
Add disable_password_auth option
2020-06-14 00:27:25 +02:00
Joice M. Joseph
671c7e99a5
fix : #297 - tls for mysql connetions
2020-04-16 09:34:16 +05:30
Matt Baer
c2417399a4
Bump version to 0.12.0
2020-03-27 12:53:48 -04:00
Matt Baer
151ec71163
Land on login form for private instances
2020-03-02 16:32:04 -06:00
Matt Baer
6aa8de3a4b
Add Gopher support
...
This adds gopher support to WriteFreely -- both single- and multi-user
instances. It is off by default, but can be enabled with the new
`gopher_port` config value in the `[server]` section.
When enabled, multi-user instances will show all public blogs at
gopher://[host]:[gopher_port]/ -- otherwise, blogs are accessible at
gopher://[host]:[gopher_port]/[blog]/
This is just a proof of concept for now. We still need to handle some
edge cases and different configurations, like private instances.
Ref T559
2020-03-01 20:12:47 -05:00
Matt Baer
8364dce398
Merge branch 'develop' into T572-check-updates
2020-02-14 14:27:22 -05:00
Matt Baer
9d360f0e41
Merge branch 'develop' into T319-delete-account
2020-02-08 13:42:46 -05:00
Nick Gerakines
7a0863f71b
Added oauth handlers and tests with mocks. Part of T705.
2019-12-19 11:51:19 -05:00
Matt Baer
342c3cde89
Bump version to 0.11.2
2019-11-26 13:15:31 -05:00
Matt Baer
278e4f6242
Bump version to 0.11.1
2019-11-12 16:53:52 +09:00
Matt Baer
8f24da94a6
Bump version to 0.11.0
2019-11-12 00:47:49 +09:00
Matt Baer
38f3eec8e0
Merge branch 'develop' into T572-check-updates
2019-11-11 15:45:47 +09:00
Rob Loranger
b83af955c3
remove wrapper over db.DeleteAccount
2019-11-05 12:20:07 -08:00
Rob Loranger
41166e5c35
CLI delete account by username and delete posts
...
this changed the CLI flag to use the username instead of the userID
leaving the underlying database function as is.
also now posts are all deleted with no option to skip as this is likely
never needed.
2019-11-05 09:14:20 -08:00
Rob Loranger
c87ca11a52
add account deletion
...
CLI only but backend supports calls from app.db.DeleteAccount already
takes --delete-account user_id_number with optional --posts to also
delete posts. if --posts is omitted all user posts will be updated to
anonymous posts
2019-10-31 15:20:18 -07:00
Matt Baer
ca388d6536
Merge branch 'develop' into chorus
2019-09-09 17:26:40 +02:00
Rob Loranger
eae4097677
add update checks
...
includes cache of latest version and page to view if updates are
available with a link to the latest update's release notes and a link to
check for the latest update now, refreshing the cache manually.
2019-08-29 15:30:27 -07:00
Daniel Watkins
7a53af355e
Emit the server software and version to the log on startup
2019-08-11 09:53:33 -04:00
Matt Baer
d8405680b4
Respect `private` setting with home page Reader
...
Ref T681
2019-08-09 14:57:09 -04:00
Matt Baer
f821dbaac4
Support dedicated signup page in chorus mode
...
This adds a Sign Up link to site navigation and shows the
otherwise-landing page on /signup when in chorus mode.
Ref T681
2019-08-09 12:00:46 -04:00
Matt Baer
006b7a86ea
Show Reader on home route in chorus mode
...
Ref T681
2019-08-09 11:32:53 -04:00
Matt Baer
deec914ccb
Merge branch 'develop' into chorus
2019-08-08 07:55:49 -04:00
Matt Baer
adfcc82241
Merge pull request #148 from writeas/default-visibility
...
Support setting default blog visibility on instance
Resolves T675
2019-08-07 17:44:37 -04:00
Matt Baer
df078c569d
Accept config.Config in datastore.CreateUser()
...
instead of App
Ref T675
2019-08-07 16:19:35 -04:00
Matt Baer
3cc397ad76
Merge branch 'develop' into chorus
2019-08-07 10:58:34 -04:00