Commit graph

1687 commits

Author SHA1 Message Date
Big Squirrel
c075cb2ce4 Do not show 'Draft' button when reading someone else's drafts
The button links to user's own draft box. Need not to be shown on other's draft posts.
2024-12-09 05:09:16 +00:00
Matt Baer
f88aa393c5
Merge pull request #1122 from writefreely/ap-likes
Support ActivityPub Likes

Closes T906
2024-12-01 18:34:31 -05:00
Matt Baer
eca7bcda0a Fix comment in activitypub.go 2024-12-01 18:30:32 -05:00
Matt Baer
6b4179fa01 Fix INSERT remote_likes query for SQLite 2024-12-01 18:15:58 -05:00
Matt Baer
e29f371232
Merge pull request #1127 from DonPiotr/develop
Fix two error messages: user create and user create --admin
2024-10-30 13:31:18 -04:00
Matt Baer
6384f4667b
Merge pull request #1103 from vtyeh/drafts-with-load-more-have-broken-links-1054
Fix broken links in drafts loaded with "load more" #1054
2024-10-24 11:39:36 -04:00
vtyeh
82de4558de Link title directly to post page 2024-10-23 10:32:04 -07:00
vtyeh
ec7d336bc2 Update title link to be dynamic with new singleUser bool 2024-10-22 13:42:17 -07:00
Matt Baer
646fff775c
Merge pull request #1034 from writefreely/dependabot/go_modules/github.com/go-sql-driver/mysql-1.8.1
Bump github.com/go-sql-driver/mysql from 1.7.1 to 1.8.1
2024-10-22 15:06:44 -04:00
Matt Baer
ec8e0b4a8b
Merge pull request #1036 from writefreely/dependabot/go_modules/github.com/fatih/color-1.17.0
Bump github.com/fatih/color from 1.16.0 to 1.17.0
2024-10-22 15:05:03 -04:00
Matt Baer
d1c4efc143
Merge pull request #988 from Anish-Parkhi/fix-response-text-plain
fix: removed unnecessary strict post number checking causing error
2024-10-22 14:33:58 -04:00
don Piotr Talarczyk
c2ea61c82e Fix two error messages: user create and user create --admin 2024-10-22 20:09:43 +02:00
Matt Baer
6e01bb7d94 Remove length restriction on other methods on /api/posts/{post} 2024-10-22 14:04:05 -04:00
Matt Baer
94f12dfc29 Fix bad regex on /api/posts/{post} endpoint 2024-10-22 14:02:52 -04:00
Matt Baer
9421cfd422
Merge pull request #1116 from sahilmulla/fix-glibc
Fix glibc issue
2024-10-22 10:42:36 -04:00
Matt Baer
8193a41082 Fix post ID extraction regex, actually
Ref T906
2024-10-21 12:37:37 -04:00
Matt Baer
1b20d3704f Catch errors around Like/Unlike actions
Previously, we'd get nil panics or insert blank post IDs

Ref T906
2024-10-21 12:23:39 -04:00
Matt Baer
9c0a2f8b13 Fix post ID extraction regex
Ref T906
2024-10-21 12:18:21 -04:00
Matt Baer
74a0947fdb Fix whitespace in collection-post.tmpl 2024-10-21 11:58:23 -04:00
Matt Baer
984e5bc415 Show number of Likes on posts and Stats pages
Ref T906
2024-10-21 11:49:04 -04:00
Matt Baer
7f1cc6bf8f Support un-liking posts from the fediverse
Ref T906
2024-10-21 11:40:18 -04:00
Matt Baer
0ce5d3ba26 Accept Like activities from the fediverse
This includes database changes; update with `writefreely db migrate`.

Ref T906
2024-10-21 11:28:35 -04:00
Matt Baer
8d3d7419cd
Merge pull request #1061 from writefreely/dependabot/go_modules/golang.org/x/net-0.30.0
Bump golang.org/x/net from 0.26.0 to 0.30.0
2024-10-21 09:43:53 -04:00
dependabot[bot]
6b47fd9e35
Bump golang.org/x/net from 0.26.0 to 0.30.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.26.0 to 0.30.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.30.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 13:41:58 +00:00
Matt Baer
25808c7281
Merge pull request #1062 from writefreely/dependabot/go_modules/golang.org/x/crypto-0.28.0
Bump golang.org/x/crypto from 0.24.0 to 0.28.0
2024-10-21 09:40:36 -04:00
sam-pc
2f37c666fb Fix glibc issue 2024-10-21 09:59:58 +05:30
vtyeh
4f3bacb182 Fix broken links in drafts loaded with "load more" by dynamically creating edit link based on single_user bool in config.ini 2024-10-15 16:23:28 -07:00
Matt Baer
71033ecc3d
Merge pull request #1038 from leo9800/docker-prod
Docker for Production
2024-10-09 15:46:12 -04:00
Matt Baer
f80139456e
Merge pull request #1047 from writefreely/use-gosimple-slug
Switch to gosimple/slug from writeas/slug
2024-10-09 15:33:46 -04:00
dependabot[bot]
096430f1cd
Bump golang.org/x/crypto from 0.24.0 to 0.28.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.24.0 to 0.28.0.
- [Commits](https://github.com/golang/crypto/compare/v0.24.0...v0.28.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-05 18:40:49 +00:00
Matt Baer
8d14c09dc6
Merge pull request #1060 from writefreely/hotfix-0.15.1
Hotfix 0.15.1
2024-10-05 14:39:25 -04:00
Matt Baer
0adffb98a6
Merge branch 'develop' into hotfix-0.15.1 2024-10-05 14:39:08 -04:00
Matt Baer
deec706f14 Use Go 1.21 in make build-* 2024-10-05 14:17:30 -04:00
Matt Baer
ceb84bfc3c Bump version to 0.15.1 2024-10-05 13:43:02 -04:00
Matt Baer
401f70c7ee
Merge pull request #1050 from writefreely/nodeinfo-handle
Fix `follow` handle in nodeinfo
2024-10-05 13:41:41 -04:00
Matt Baer
0233a62f91 Use @writefreely handle for nodeinfo
Instead of @write_as
2024-10-01 18:42:46 -04:00
Matt Baer
4753eef550 Switch to gosimple/slug from writeas/slug
The upstream library now has the changes we'd merged in this fork,
so no need to use our (very outdated) fork anymore.
2024-09-27 19:20:43 -04:00
Leo
52d6ea60f3 Create Dockerfile & sample docker-compose.yml for production build 2024-09-02 12:45:55 +10:00
Leo
2a668d18d3 Update config/setup.go for docker environment 2024-09-02 12:43:31 +10:00
dependabot[bot]
b9f50883a9
Bump github.com/fatih/color from 1.16.0 to 1.17.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 22:25:17 +00:00
dependabot[bot]
680c0f5564
Bump github.com/go-sql-driver/mysql from 1.7.1 to 1.8.1
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.7.1 to 1.8.1.
- [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.7.1...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 22:25:11 +00:00
Matt Baer
b8d652eb1a
Merge pull request #1024 from writefreely/fix-sitemap
Correctly show 404 page on /sitemap.xml on multi-user instances
2024-08-16 21:59:30 -04:00
Matt Baer
884a479de6
Merge pull request #1001 from CDN18/oauth-patch
add client_id and client_secret to exchangeOauthCode form
2024-08-15 20:21:16 -04:00
Matt Baer
2bef7a2100
Merge pull request #1000 from CDN18/actor-patch
fix: do second actor deref from main-key endpoint against publickey.Owner
2024-08-15 20:18:27 -04:00
Matt Baer
c6d54665ac
Merge pull request #1025 from writefreely/bump-go
Bump Go from v1.19 to v1.21
2024-08-15 18:54:14 -04:00
Matt Baer
24e94302d9
Merge pull request #1026 from writefreely/dependabot/go_modules/github.com/urfave/cli/v2-2.27.4
Bump github.com/urfave/cli/v2 from 2.27.1 to 2.27.4
2024-08-15 18:53:53 -04:00
dependabot[bot]
8372386abd
Bump github.com/urfave/cli/v2 from 2.27.1 to 2.27.4
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.27.1 to 2.27.4.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.27.1...v2.27.4)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-15 22:51:32 +00:00
Matt Baer
23f0669f7a
Merge pull request #997 from writefreely/dependabot/go_modules/github.com/fatih/color-1.17.0
Bump github.com/fatih/color from 1.16.0 to 1.17.0
2024-08-15 18:51:28 -04:00
Matt Baer
bfb9e3c4fb Bump Go from v1.19 to v1.21 2024-08-15 18:44:18 -04:00
Matt Baer
1b888e0c04
Merge pull request #1011 from writefreely/dependabot/go_modules/golang.org/x/net-0.26.0
Bump golang.org/x/net from 0.22.0 to 0.26.0
2024-08-15 18:25:43 -04:00