dependabot[bot]
083d8c4d67
Bump github.com/mattn/go-sqlite3 from 1.14.2 to 1.14.4
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.2 to 1.14.4.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.2...v1.14.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-03 14:35:04 +00:00
Matt Baer
e3c7a8ac3a
Merge pull request #395 from writeas/dependabot/go_modules/github.com/mitchellh/go-wordwrap-1.0.1
...
Bump github.com/mitchellh/go-wordwrap from 1.0.0 to 1.0.1
2020-10-03 10:33:30 -04:00
dependabot[bot]
454e781ed4
Bump github.com/mitchellh/go-wordwrap from 1.0.0 to 1.0.1
...
Bumps [github.com/mitchellh/go-wordwrap](https://github.com/mitchellh/go-wordwrap ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/mitchellh/go-wordwrap/releases )
- [Commits](https://github.com/mitchellh/go-wordwrap/compare/v1.0.0...v1.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-03 14:30:24 +00:00
Matt Baer
1b6f9b6742
Merge pull request #393 from writeas/dependabot/go_modules/github.com/manifoldco/promptui-0.8.0
...
Bump github.com/manifoldco/promptui from 0.7.0 to 0.8.0
2020-10-03 10:29:03 -04:00
Marcel van der Boom
5961eb8f27
Drop the /tags/{tag} route
...
fixes issue #305
2020-10-03 15:34:44 +02:00
dependabot[bot]
f5f28550fb
Bump gopkg.in/ini.v1 from 1.57.0 to 1.61.0
...
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini ) from 1.57.0 to 1.61.0.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.57.0...v1.61.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 05:23:13 +00:00
dependabot[bot]
c22a751ab7
Bump github.com/manifoldco/promptui from 0.7.0 to 0.8.0
...
Bumps [github.com/manifoldco/promptui](https://github.com/manifoldco/promptui ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/manifoldco/promptui/releases )
- [Changelog](https://github.com/manifoldco/promptui/blob/master/CHANGELOG.md )
- [Commits](https://github.com/manifoldco/promptui/compare/v0.7.0...v0.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 05:22:43 +00:00
Matt Baer
2768ea9414
Make Monetization optional
...
Some WriteFreely instances are completely private, and thus have no need for public-
oriented features like Web Monetization. Like federation, this gives admins control
over whether or not the feature is enabled for users.
Ref T773
2020-09-30 15:18:21 -04:00
Matt Baer
13a3a68d54
Validate and trim spaces on WM pointer
...
Ref T773
2020-09-30 14:42:11 -04:00
Matt Baer
ec7b299fd3
Enable updating WM payment pointer via API and Customize page
...
Ref T773
2020-09-30 14:40:13 -04:00
Matt Baer
f534ee1dec
Merge pull request #391 from colin-axner/getCollectionPage-cleanup
...
update getCollectionPage
2020-09-29 10:52:19 -04:00
Colin Axner
678653ac30
update getCollectionPage
...
Update getCollectionPage godoc and reduce logic and variable assignments
2020-09-25 16:47:31 +02:00
Colin Axner
75a79d49bd
remove unnecessary var
...
Remove createdWithPass var in account.go along with impossible if statement
2020-09-25 16:07:30 +02:00
Matt Baer
2908080b52
Automatically resize CSS editor
...
Closes T708
2020-09-24 15:08:08 -04:00
Matt Baer
d6d510aec9
Fix dated
header class on pinned posts
...
The header shouldn't include the `dated` property, since we don't display a date
on pinned posts. This fixes that.
2020-09-17 14:55:10 -04:00
Colin Axner
5ba0ea2b04
fix accessibility of silenced user posts
...
Change view post collection queries to verify that the authenticated user of a silenced collection is either the owner or admin
2020-09-17 12:50:06 +02:00
Matt Baer
a96d4474ef
Add auto-save to WYSIWYG editor
2020-09-09 17:46:47 -04:00
Matt Baer
a7190795f7
Output prose.bundle.js to static/js/ dir, instead of dist/
2020-09-09 10:47:01 -04:00
Matt Baer
70dbfcfba4
Fix webpack build issues
...
This upgrades @babel/preset-env to 7.9.0 from 7.8.7.
See: https://github.com/nodejs/node/issues/32852#issuecomment-613655150
2020-09-09 10:45:04 -04:00
Matt Baer
da8c08668f
Fix whitespace in prose.js
2020-09-09 10:02:00 -04:00
Matt Baer
61daca2b0d
Merge branch 'develop' into wysiwyg
2020-09-09 09:53:38 -04:00
Dami
f847ade1ef
Use camelCase
2020-09-09 00:01:32 -06:00
Dami
3a789f5a00
Go to next regex match if url parsing error
2020-09-08 23:59:56 -06:00
Dami
79715891fb
Merge branch 'develop' of https://github.com/writeas/writefreely into fix-youtube-query-parameters
2020-09-08 23:49:26 -06:00
Josip Antoliš
eb76faa129
Fix escaping in post summary
...
Unescaping post content after sanitizing it. This will prevent double
escaping when summary is rendered by html/template package which does
escaping by default.
Fixes #340
2020-09-05 01:59:44 +02:00
Matt Baer
7c1244e6b1
Merge pull request #381 from writeas/fix-testpostlede
...
Truncate post lede at question mark
2020-09-04 16:36:14 -04:00
Matt Baer
c31a87fb76
Merge pull request #336 from Antolius/static-assets-cache-control
...
Add Cache-Control header
2020-09-04 16:12:29 -04:00
Josip Antoliš
1b1d3064c9
Move cacheControl func into handle.go file
2020-09-04 22:03:42 +02:00
Josip Antoliš
3f36ede885
Add Cache-Control header
...
Add Cache-Control response header for static files in order to improve page loading speed.
Fixes #322
2020-09-04 22:03:42 +02:00
Matt Baer
f821ead3a1
Support only federating Notes
...
When setting `notes_only = true` in the `[app]` configuration section, WF will only send out `Note` objects. Otherwise, it will send out both `Note`s and `Article`s.
2020-09-02 10:36:00 -04:00
Matt Baer
8be71481c8
Merge branch 'develop' into support-notes
2020-09-02 10:29:59 -04:00
Matt Baer
a8a6525006
Merge pull request #377 from writeas/dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.4
...
Bump github.com/microcosm-cc/bluemonday from 1.0.3 to 1.0.4
2020-09-02 10:20:30 -04:00
Matt Baer
98d88b9a4b
Truncate lede at question mark
...
This fixes TestPostLede and closes #316 .
2020-09-02 09:38:02 -04:00
Matt Baer
ac90cb2c80
Fix panic in TestViewOauthCallback
2020-09-02 09:33:16 -04:00
dependabot[bot]
00a5a4f7ab
Bump github.com/microcosm-cc/bluemonday from 1.0.3 to 1.0.4
...
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases )
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.3...v1.0.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-01 19:42:11 +00:00
Matt Baer
505b124db7
Merge pull request #379 from writeas/dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.2
...
Bump github.com/mattn/go-sqlite3 from 1.14.0 to 1.14.2
2020-09-01 15:40:35 -04:00
Matt Baer
f75d4cb75d
Merge pull request #327 from Dar13/add-cors-headers-public-api
...
Add CORS header ('Access-Control-Allow-Origin') to public APIs
2020-09-01 15:01:33 -04:00
dependabot[bot]
21579cfa71
Bump github.com/mattn/go-sqlite3 from 1.14.0 to 1.14.2
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.0 to 1.14.2.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.0...v1.14.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-01 13:41:01 +00:00
dependabot[bot]
1779aeaf8c
Bump github.com/gorilla/mux from 1.7.4 to 1.8.0
...
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux ) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/gorilla/mux/releases )
- [Commits](https://github.com/gorilla/mux/compare/v1.7.4...v1.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-01 13:40:59 +00:00
Matt Baer
62d29166f4
Merge pull request #376 from writeas/dependabot/go_modules/github.com/gorilla/schema-1.2.0
...
Bump github.com/gorilla/schema from 1.1.0 to 1.2.0
2020-09-01 09:39:26 -04:00
dependabot[bot]
e60398f0b4
Bump github.com/gorilla/schema from 1.1.0 to 1.2.0
...
Bumps [github.com/gorilla/schema](https://github.com/gorilla/schema ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/gorilla/schema/releases )
- [Commits](https://github.com/gorilla/schema/compare/v1.1.0...v1.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-01 06:32:10 +00:00
Matt Baer
ce69117c79
Merge pull request #371 from writeas/design-update
...
Navigation improvements
2020-08-31 18:21:41 -05:00
Matt Baer
d8019bba0d
Merge pull request #370 from writeas/oauth-cleanup
...
OAuth tidy-up and refactor
2020-08-31 17:08:33 -05:00
Matt Baer
820c5ae557
Remove Admin link from header on Account Settings page
2020-08-19 18:22:11 -04:00
Matt Baer
3a915ad8ea
Make New Post button contextual on coll sub-sections
2020-08-19 18:21:53 -04:00
Matt Baer
8d27ee6d99
Only show "New Post" button in coll. nav bar on Blogs page
2020-08-19 18:20:26 -04:00
Matt Baer
6f8d70043f
Move coll. navigation to main header for single-user sites
...
This uses the main navigation bar for the Customize and Stats pages, instead of the collection-navigation bar used for multi-user / multi-collection instances.
2020-08-19 18:19:28 -04:00
Matt Baer
9d0ba2bed4
Add contextual blog menu
2020-08-19 17:09:47 -04:00
Matt Baer
cef51a7797
Remove accidental #user-nav color
2020-08-19 16:56:26 -04:00
Matt Baer
0ed9c9c746
Add inter-blog navigation
...
This makes it easier to navigate between different blog sections: Customize, Stats, View.
2020-08-19 16:24:37 -04:00