Commit graph

1368 commits

Author SHA1 Message Date
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
Colin Axnér
f2e3cd8bd7 merge develop 2021-03-08 11:42:00 +01:00
Colin Axnér
00f2152c2b update commit for web-core
Update go.mod to use latest commit on web-core
2021-03-08 11:37:22 +01: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
Matt Baer
c2c6b69044 Update prose.bundle.js 2021-03-03 17:05:05 -05:00
Matt Baer
706ae9cc77 Style Read More section in WYSIWYG like link 2021-03-03 17:04:16 -05:00
Matt Baer
1abc9b643f Improve WYSIWYG editor modal style 2021-03-03 16:41:21 -05:00
Matt Baer
8a8288d2af Build ProseMirror library on make ui 2021-03-03 16:39:29 -05:00
Matt Baer
e36e39cb73 Fix WYSIWYG editor script in Chrome <85
This uses String.replace() instead of String.replaceAll().
2021-03-03 16:38:49 -05:00
v
583693ed8d Updated prod prosemirror bundle. 2021-03-03 20:45:55 +01:00
v
19beabe2d1 Fixed Safari regex lookahead / lookbehind issue. 2021-03-03 20:29:23 +01:00
Matt Baer
33cf9263f5 Support "nosig" shortcode to hide signature in post
If a post contains <!--nosig--> anywhere in the body, the post will render
without a post signature on it.

Ref T815
2021-02-24 12:49:28 -05:00
Matt Baer
a10827cd50 Hide post signature on pinned posts
Ref T814
2021-02-23 17:36:35 -05:00
Matt Baer
65caaca659 Update ProseMirror install instructions 2021-02-23 16:54:38 -05:00
Matt Baer
2d38e8b65e Create coll post with the provided slug, if exists
Closes T811
2021-02-22 14:25:18 -05:00
Viktor Vaczi
8c0978419f using a branch from github with the markdown hashtag serializing fix 2021-02-13 13:27:15 +01:00
CJ Eller
391844fab9
Add conditional for preserving lang metadata
This makes it so that if a post is updated, it will retain the language metadata rather than revert back.
2021-02-10 18:01:32 -05:00
CJ Eller
e6c36fc2ef
Update writefreely-web image
Updated with the official writeas/writefreely image on Docker Hub.
2021-02-01 12:01:49 -05:00
Donald Feury
e6417d911c Stop private and protected blogs from federating
Fixes #403
2021-01-27 19:39:46 -05:00
x4e
795748457c
Case insensitive language highlighting matching
This automatically lowercases language names used in code blocks when finding highlighting scripts for them, since highlightJS defines all languages with lowercase names.
2021-01-24 01:24:12 +00:00
funkyduck
6c1ab93717 The gopher integration was not setting host or port, causing all links to break.
This will derive the host from the configured host by stripping the protocol from the URI
2021-01-14 09:46:20 -05:00
Viktor Vaczi
6049213661 added prettierrc 2021-01-08 01:41:36 +01:00
Viktor Vaczi
9a55d38e4b working newlines, link shortcut 2021-01-08 00:33:35 +01:00
Viktor Vaczi
676b673c94 Correct line ends 2021-01-05 15:06:19 +01:00
Viktor Vaczi
b1cea637cb Removed unnecessary schema nodes, custom markdown parser/serializer, publish keyboard shortcut, readmore node 2021-01-04 17:19:24 +01:00
Matt Baer
f31e4d650d Use HTMLContent field in RSS feed
This re-uses the HTMLContent feed for the full HTML content in the RSS
feed, instead of again generating HTML from Markdown.

This keeps things more consistent throughout the application and reduces
work when rendering the feed.
2020-12-15 09:33:14 -05:00
Matt Baer
53ea85dc86
Merge pull request #407 from conor-f/docker-fixes
Dockerfile/docker-compose fixes
2020-12-08 09:38:22 -05:00
Colin Axner
fcf01a6039 add back else clause
Add back else clause after realizing the error check doesn't return after logging.
2020-12-07 11:28:51 +01:00
Colin Axner
30fc088cec reset cache after silencing user 2020-12-06 12:45:45 +01:00
Colin Axner
3aa621ee36 allow cache to be forcibly reset
Modify updateTimelineCache to allow a boolean to indicate that the cache should be forcibly reset
2020-12-06 12:30:54 +01:00
Matt Baer
d52e2826f8
Merge pull request #389 from colin-axner/remove-unnecessary-var
remove unnecessary var in account.go
2020-11-16 12:06:47 -05:00
dependabot[bot]
ed00417d8d
Bump gopkg.in/ini.v1 from 1.61.0 to 1.62.0
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini) from 1.61.0 to 1.62.0.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](https://github.com/go-ini/ini/compare/v1.61.0...v1.62.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-01 05:31:06 +00:00
Conor Flynn
9f925c8138 Changes docker-compose image to use writefreely. 2020-10-26 13:52:04 +00:00
Conor Flynn
0eb1a2deec Fixes broken Docker/docker-compose structures.
Updates versions and uses maria DB instead of sqlite in the
docker-compose. Also fixes things related to networks, generating
config, etc.
2020-10-26 13:50:11 +00:00