Commit Graph

1187 Commits

Author SHA1 Message Date
Matt Baer 4565c6dd90 Only use SameSite=None on Secure site
This fixes logging in when developing on newer versions of Chrome.
2021-04-30 11:03:42 -04:00
Matt Baer 2903c86875 Remove prose.bundle.js from repo
This file is compiled from other sources, and thus shouldn't be
included in the repo.
2021-04-30 09:41:18 -04:00
Matt Baer e5347dd924 Move Classic editor horizontal spacing inside .ProseMirror 2021-04-30 09:38:28 -04:00
Matt Baer c9c2adde0f Use Sans font for Classic editor menubar 2021-04-30 09:25:24 -04:00
Matt Baer b2c6c6c167 Rename wysiwyg editor to classic 2021-04-29 17:09:24 -04:00
Matt Baer 5a4ff2a9de Support blockquotes in Classic editor
Ref T727
2021-04-29 17:07:40 -04:00
Matt Baer c01fb585ba Support horizontal rules in Classic editor
Ref T727
2021-04-29 17:05:18 -04:00
Matt Baer 02490c798c Only set lang on initial publish in all editors
This fixes #280 in all editors, continuing work from #435.
2021-04-06 12:38:45 -04:00
Matt Baer 11e636359d Clean up lang field setting in pad.tmpl
This continues work by @cjeller1592 in #435.
2021-04-06 12:37:26 -04:00
Matt Baer 50c4e944a4 Merge branch 'develop' into minor-fixes 2021-04-06 12:30:37 -04:00
Matt Baer e58e457b25
Merge pull request #435 from cjeller1592/lang-metadata
Add conditional for preserving lang metadata
2021-04-06 12:17:35 -04:00
Matt Baer ed74228795
Merge pull request #434 from cjeller1592/compose-update-wf-image
Update writefreely-web image in docker-compose.yml
2021-04-06 11:59:26 -04:00
Matt Baer 2c1d3a51af
Merge pull request #429 from x4e/develop
Case insensitive language highlighting matching
2021-04-06 11:31:08 -04:00
Matt Baer 23818c6104
Merge pull request #426 from mostfunkyduck/develop
Fixes problem where all links were breaking in gopher
2021-04-06 11:26:46 -04:00
Matt Baer 5ecf613cb5
Merge pull request #448 from writeas/dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.5
Bump github.com/microcosm-cc/bluemonday from 1.0.4 to 1.0.5
2021-04-01 07:26:05 -04:00
dependabot[bot] 9cbd254d64
Bump github.com/microcosm-cc/bluemonday from 1.0.4 to 1.0.5
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.4...v1.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 11:24:37 +00:00
Matt Baer 733301d364
Merge pull request #447 from writeas/dependabot/go_modules/github.com/go-sql-driver/mysql-1.6.0
Bump github.com/go-sql-driver/mysql from 1.5.0 to 1.6.0
2021-04-01 07:24:26 -04:00
Matt Baer f1eae4007e
Merge pull request #446 from writeas/dependabot/go_modules/github.com/hashicorp/go-multierror-1.1.1
Bump github.com/hashicorp/go-multierror from 1.1.0 to 1.1.1
2021-04-01 07:22:09 -04:00
dependabot[bot] f70fc0c4e2
Bump github.com/go-sql-driver/mysql from 1.5.0 to 1.6.0
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.5.0...v1.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 05:14:03 +00:00
dependabot[bot] 2a9aa84366
Bump github.com/hashicorp/go-multierror from 1.1.0 to 1.1.1
Bumps [github.com/hashicorp/go-multierror](https://github.com/hashicorp/go-multierror) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/hashicorp/go-multierror/releases)
- [Commits](https://github.com/hashicorp/go-multierror/compare/v1.1.0...v1.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 05:13:09 +00:00
Matt Baer 6f665e7e4b Fix light / dark mode toggle in WYSIWYG editor 2021-03-25 13:02:57 -04:00
Matt Baer d7c9f56b40 Rename ProseMirror writeAs Parser/Serializer to writeFreely 2021-03-25 13:02:57 -04:00
Matt Baer 47aa436caa Render `tight` Markdown lists in WYSIWYG editor 2021-03-25 13:02:57 -04:00
Matt Baer 424bd55816 Set SameSite=None on session cookie 2021-03-25 13:02:57 -04:00
Matt Baer 3e282e4c85 Rename MonetizationPointer field to Monetization 2021-03-25 13:02:35 -04:00
Matt Baer 85efbcccfc
Merge pull request #439 from writeas/support-authorized-fetch
Fix following from Mastodon with Authorized Fetch enabled
2021-03-25 08:46:23 -04:00
Matt Baer 9aa5fc4420 Fix ProseMirror failing to parse Markdown images 2021-03-19 17:02:00 -04:00
Matt Baer 636c9b35c0 Use WriteFreely ProseMirror packages 2021-03-19 17:00:21 -04:00
Matt Baer a6a4bd38c1 Fix overflowing WYSIWYG editor images 2021-03-19 16:59:01 -04:00
Matt Baer 811f996e84
Merge pull request #437 from writeas/post-signature-pinned-posts
Post signature improvements
2021-03-19 13:28:54 -04:00
Matt Baer 3984042905
Merge pull request #405 from dariusk/dariusk/inspectuser
Generic OAuth userinfo properies now configurable
2021-03-18 19:28:43 -04:00
Matt Baer 321c1af607
Merge pull request #436 from writeas/publish-with-slug
Support `slug` parameter when publishing a post
2021-03-09 09:59:57 -05:00
Matt Baer 9f525876f4 Fix instance-wide actor webfinger lookup
This skips the silenced-user check.

Ref T820
2021-03-08 13:02:59 -05:00
Matt Baer 9b336dee8c Fix instance-wide actor lookup
This skips the silenced-user check.

Ref T820
2021-03-08 12:54:50 -05: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 4cf9500704
Merge pull request #418 from writeas/consistent-feeds
Use HTMLContent field in RSS feed
2021-03-06 17:27:34 -05:00
Matt Baer fbb67bc9ef
Merge pull request #383 from writeas/wysiwyg
Add WYSIWYG editor option
2021-03-06 16:48:56 -05:00
Matt Baer 4f32af2d7f
Merge pull request #220 from writeas/support-notes
Support ActivityPub Notes
2021-03-05 11:10:19 -05:00
Matt Baer 97242cd5ec
Merge pull request #433 from writeas/dependabot/go_modules/github.com/stretchr/testify-1.7.0
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0
2021-03-05 08:59:24 -05:00
Matt Baer bd77145bf3
Merge pull request #423 from writeas/dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.6
Bump github.com/mattn/go-sqlite3 from 1.14.4 to 1.14.6
2021-03-04 17:05:52 -05:00
dependabot[bot] 1ea728b1e9
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-04 18:03:38 +00:00
Matt Baer c813d08230
Merge pull request #414 from writeas/dependabot/go_modules/github.com/urfave/cli/v2-2.3.0
Bump github.com/urfave/cli/v2 from 2.2.0 to 2.3.0
2021-03-04 13:02:06 -05:00
dependabot[bot] 1ac5c4ab4d
Bump github.com/mattn/go-sqlite3 from 1.14.4 to 1.14.6
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.4 to 1.14.6.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.4...v1.14.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-04 16:46:50 +00:00
Matt Baer ff976a950e
Merge pull request #409 from writeas/dependabot/go_modules/github.com/fatih/color-1.10.0
Bump github.com/fatih/color from 1.9.0 to 1.10.0
2021-03-04 11:45:28 -05:00
Matt Baer 1f6d0e2e70 Merge branch 'develop' into support-notes 2021-03-04 11:42:49 -05:00
dependabot[bot] 5b2c350b5d
Bump github.com/fatih/color from 1.9.0 to 1.10.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.9.0...v1.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-04 00:22:20 +00:00
Matt Baer b3dd06c79b Merge branch 'develop' into wysiwyg 2021-03-03 17:38:28 -05:00
dependabot[bot] 71b211b11e
Bump github.com/urfave/cli/v2 from 2.2.0 to 2.3.0
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.2.0...v2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-03 22:37:46 +00:00
Matt Baer 33d47ca420
Merge pull request #408 from writeas/dependabot/go_modules/gopkg.in/ini.v1-1.62.0
Bump gopkg.in/ini.v1 from 1.61.0 to 1.62.0
2021-03-03 17:36:30 -05:00