205 Commits
Author SHA1 Message Date
Matt BaerandGitHub 4d41677a7a Merge pull request #23 from writeas/dependabot/go_modules/golang.org/x/net-0.55.0
Bump golang.org/x/net from 0.54.0 to 0.55.0
v1.8.0
2026-07-18 12:11:13 -04:00
dependabot[bot]andGitHub f6707f32ea Bump golang.org/x/net from 0.54.0 to 0.55.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.54.0 to 0.55.0.
- [Commits](https://github.com/golang/net/compare/v0.54.0...v0.55.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.55.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-18 16:10:57 +00:00
Matt Baer f286ddb713 Omit empty First value and only set on New with items>0
Supports fixing writefreely/writefreely#1698
2026-07-18 12:09:59 -04:00
Matt BaerandGitHub 52f92a2d92 Merge pull request #22 from writeas/dependabot/go_modules/golang.org/x/crypto-0.52.0
Bump golang.org/x/crypto from 0.45.0 to 0.52.0
2026-07-18 12:02:01 -04:00
dependabot[bot]andGitHub 9ef186bf73 Bump golang.org/x/crypto from 0.45.0 to 0.52.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.45.0 to 0.52.0.
- [Commits](https://github.com/golang/crypto/compare/v0.45.0...v0.52.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-18 15:57:53 +00:00
Matt Baer 91ebade091 Add default Context in NewNoteObject 2026-02-20 15:07:03 -05:00
Matt Baer e4cf634040 Update Web Monetization context 2026-02-20 14:48:44 -05:00
Matt Baer 25d52df9a3 Set default Context in NewArticle / NewNote 2026-02-20 14:47:22 -05:00
Matt BaerandGitHub e9abfc34c1 Merge pull request #21 from writeas/dependabot/go_modules/golang.org/x/crypto-0.45.0
Bump golang.org/x/crypto from 0.35.0 to 0.45.0
2026-02-20 14:34:54 -05:00
dependabot[bot]andGitHub d73d983f32 Bump golang.org/x/crypto from 0.35.0 to 0.45.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.35.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.35.0...v0.45.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-20 19:33:54 +00:00
Matt Baer 84d7479954 Add Monetization property to Object struct 2026-02-20 14:32:13 -05:00
Matt Baer b6521cded2 Merge branch 'main' of github.com:writeas/web-core 2026-01-15 15:04:57 -05:00
Matt Baer 180136e6db Add Web Monetization properties 2025-10-23 14:15:03 -04:00
Matt Baer cf9f5db56b Add Preview field to Object
This supports the `preview` AS2 attribute to support short-form previews
for `article`s, per FEP-b2b8.
v1.7.0
2025-05-07 17:52:29 -04:00
Matt BaerandGitHub d476017273 Merge pull request #20 from writeas/dependabot/go_modules/golang.org/x/crypto-0.35.0
Bump golang.org/x/crypto from 0.17.0 to 0.35.0
2025-05-07 16:23:55 -04:00
dependabot[bot]andGitHub 428972d76c Bump golang.org/x/crypto from 0.17.0 to 0.35.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.17.0 to 0.35.0.
- [Commits](https://github.com/golang/crypto/compare/v0.17.0...v0.35.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-07 20:23:00 +00:00
Matt Baer a0c5600cc3 Export ToPublic constant 2024-04-11 16:19:18 -04:00
Matt Baer dd08b71215 Merge branch 'main' of github.com:writeas/web-core 2024-04-11 15:35:00 -04:00
Matt BaerandGitHub f311bfd33c Merge pull request #19 from writeas/dependabot/go_modules/golang.org/x/crypto-0.17.0
Bump golang.org/x/crypto from 0.1.0 to 0.17.0
2024-04-11 14:47:39 -04:00
dependabot[bot]andGitHub e8804848c7 Bump golang.org/x/crypto from 0.1.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.1.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.1.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-11 18:45:43 +00:00
Matt BaerandGitHub b435031b2d Merge pull request #18 from HotoRas/main
Temporal addition of Korean l10n
2024-04-11 14:44:39 -04:00
Hoto Ras ecf7fd1f90 Temporal addition of Korean l10n
Since the localization project didn't allow me to contribute, I ended up open ip the repo, add up the file, localize, and finally have it able to apply.

- Added: l10n/phrases_ko.go // korean l10n
- Modified: l10n/strings.go // Add casing to have above change able to apply
2024-03-31 13:42:18 +09:00
Matt Baer 6caf274300 Add text.ExtractImages func 2024-02-21 14:20:22 -05:00
Matt Baer d81124d454 Ensure Updated field will be omitted when nil or zero 2023-10-02 21:30:47 -04:00
Matt Baer adbbafe3ee Add Activity.Updated field
Per the Mastodon docs, we need to send an `updated` parameter for
`Update` activities to work correctly.
https://docs.joinmastodon.org/spec/activitypub/#supported-activities-for-statuses
2023-10-02 19:27:51 -04:00
Matt Baer e313cb0ecf Add Category.IsCategory field v1.6.0 2023-09-14 14:27:06 -04:00
Matt Baer 5a77fdf807 Add "archive.org_bot" as bot phrase 2023-09-14 14:26:53 -04:00
Matt BaerandGitHub 5c8145466c Merge pull request #17 from writeas/dependabot/go_modules/golang.org/x/crypto-0.1.0
Bump golang.org/x/crypto from 0.0.0-20210921155107-089bfa567519 to 0.1.0
2023-07-06 18:40:13 -04:00
dependabot[bot]andGitHub dcd7a0cb2c Bump golang.org/x/crypto from 0.0.0-20210921155107-089bfa567519 to 0.1.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20210921155107-089bfa567519 to 0.1.0.
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 22:39:22 +00:00
Matt Baer 7dc8a92493 Catch all Bing and Googlebots, plus clean up v1.5.0 2023-07-06 18:38:34 -04:00
Matt Baer dee1e7cfbb Update bots list
Also add and sort prefixes
2023-07-06 18:29:39 -04:00
Matt Baer edb6b3fe63 Re-gofmt bots.go 2023-07-06 17:50:20 -04:00
Matt BaerandGitHub f06acefdb1 Merge pull request #16 from writeas/dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.23
Bump github.com/microcosm-cc/bluemonday from 1.0.5 to 1.0.23
2023-04-06 08:06:55 -04:00
dependabot[bot]andGitHub 33b431fb41 Bump github.com/microcosm-cc/bluemonday from 1.0.5 to 1.0.23
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.5 to 1.0.23.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.5...v1.0.23)

---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-04 16:11:47 +00:00
Matt Baer 4934315624 Reformat example code on PostDescription 2023-04-04 12:10:40 -04:00
Matt Baer 4e8d67e937 Update go.sum with go-strip-markdown 2023-04-04 12:10:20 -04:00
Matt Baer 9e2b7620b1 Add funcs PostTitle, GetSlug, GetSlugFromPost 2023-04-04 12:09:49 -04:00
Matt BaerandGitHub b5516d22e1 Merge pull request #15 from writeas/fix-key-decoding
Support decoding PKCS#8 keys
v1.4.1
2022-11-11 01:58:35 -05:00
Matt Baer 73b029dffa Support decoding PKCS#8 keys
These are generated by OpenSSL v3. Previously, key decoding would fail,
breaking federation.

This fixes #14
2022-11-11 01:56:53 -05:00
Matt Baer ab8ed5dd58 Support sending out activities around Persons 2022-05-11 18:06:23 -04:00
Matt Baer 0da0bcaf01 Support HTML links with rel attr in ApplyBasicAccessibleMarkdown
Ref T874 T744
2022-01-18 16:27:28 -05:00
Matt Baer 3e1dcd609c Restore default title dash 2022-01-06 13:35:11 -05:00
Matt Baer 251490523d Add ApplyBasicAccessibleMarkdown func 2021-12-15 15:59:22 -05:00
Matt Baer 789795d7fb Update Japanese translations 2021-11-05 11:00:54 -04:00
Matt Baer 482d2a0340 Update Italian translations 2021-11-05 10:59:12 -04:00
Matt Baer b0d08b0b2d Add Hebrew translations 2021-11-05 10:57:53 -04:00
Matt Baer 4ea5f505e1 Update Greek translations 2021-11-05 10:56:23 -04:00
Matt Baer 6594abfd76 Update German translations 2021-11-05 10:55:04 -04:00
Matt Baer 8e58a42997 Add Galician translations 2021-11-05 10:52:59 -04:00
Matt Baer ed63d3d637 Add Basque translations 2021-11-05 10:51:06 -04:00