Matt Baer
375d22d230
Add HashtagFromTitle helper
2021-10-16 13:19:00 -04:00
Matt Baer
bec10e41b5
Merge branch 'main' of github.com:writeas/web-core into main
2021-10-15 15:38:45 -04:00
Matt Baer
a8daef8401
Add category pkg
...
This supports categories in Write.as / WriteFreely.
Ref T809
2021-09-29 17:01:17 -04:00
Matt Baer and GitHub
ee6bf8e8b7
Merge pull request #12 from writeas/dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.5
...
Bump github.com/microcosm-cc/bluemonday from 1.0.2 to 1.0.5
2021-09-13 14:39:52 -05:00
dependabot[bot] and GitHub
bb86406b9d
Bump github.com/microcosm-cc/bluemonday from 1.0.2 to 1.0.5
...
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday ) from 1.0.2 to 1.0.5.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases )
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.2...v1.0.5 )
---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-13 19:34:04 +00:00
Matt Baer
28cf6b3866
Fix TestNewImageAttachment tests
v1.4.0
2021-09-13 15:32:27 -04:00
Matt Baer
8b45bd4fcc
Support creating Document attachments
...
In particular, this will support audio attachments.
Ref T872
2021-09-13 15:32:10 -04:00
Matt Baer
5fb147fe78
Add PostLede and TruncToWord tests from WriteFreely
2021-04-21 11:50:00 -04:00
Matt Baer
fd1559928a
Copy post parsing funcs to posts pkg
2021-04-13 23:49:59 -04:00
Matt Baer
95a3a717ed
Move remaining writeas/nerds/store funcs to web-core
...
Finishes the work started in #8 .
2021-03-30 12:44:22 -04:00
Matt Baer
8dbd86535d
Don't return pointer from NewImageAttachment()
v1.3.0
2021-03-24 15:47:23 -04:00
Matt Baer
f534cc9f9b
Fix TagMention type
2021-03-24 15:46:13 -04:00
Matt Baer
a77cafb3ae
Add NewImageAttachment func
2021-03-24 15:45:58 -04:00
Matt Baer
48cbbf652a
Support attachments on activitystreams.Object
2021-03-24 15:33:34 -04:00
Matt Baer and GitHub
e05f572eb2
Merge pull request #11 from colin-axner/colin/memo-reset
...
Add (forceful) Reset function to memo
2021-03-06 16:51:49 -05:00
Colin Axner
7ddb288ae3
add godoc
2020-12-06 12:06:51 +01:00
Colin Axner
cee889bd58
Add Reset func to memo
...
Add a new function Reset to memo to forcibly reset the cache
2020-11-23 15:36:27 +01:00
Matt Baer and GitHub
aacd7d3d0c
Merge pull request #4 from laosb/patch-1
...
Improve Chinese translation.
2020-09-24 10:58:41 -04:00
Matt Baer and GitHub
3134869cce
Merge pull request #8 from eddsalkield/nerdsnipe
...
Remove dependency on github.com/writeas/nerds
2020-09-24 08:45:19 -04:00
Matt Baer and GitHub
083de67f45
Merge pull request #6 from eddsalkield/uuid
...
Migrate to new uuid library
2020-09-24 08:25:13 -04:00
Edd Salkield
339af195c2
Remove dependency on github.com/writeas/nerds
2020-09-22 22:14:10 +00:00
Edd Salkield
83e2689111
Migrate to new uuid library
2020-09-22 22:06:36 +00:00
Matt Baer
68a680d1b0
Add silobridge package
2020-08-13 12:17:34 -04:00
Matt Baer
f54ee176fc
Remove commentsEnabled AP extension
...
This isn't used.
v1.2.0
2019-11-11 21:56:08 +09:00
Matt Baer
45b1985b97
Change Write.as -> WriteFreely in README
2019-11-11 21:48:19 +09:00
Wexpo Lyu and GitHub
35ecbe8f09
Update Chinese translation.
...
- Make sentences concise.
- Implement spaces between Chinese and Western characters.
2019-10-26 17:42:19 +08:00
Matt Baer
46304124ec
Document posts.ExtractTitle func
2019-05-30 10:12:34 -04:00
Matt Baer
1f29da565f
Include calling filename and line # in error logs
...
...instead of the filename and line number of the Printf call in
log.Error()
2019-05-23 06:59:22 -04:00
Matt Baer and GitHub
8dbb4ebdc5
Merge pull request #3 from gytisrepecka/master
...
Added phrases_lt.go
2019-05-08 09:51:00 -04:00
Gytis Repečka
c5dba02ee6
Added Lithuanian localization.
2019-05-08 08:18:35 +03:00
Matt Baer
7b4bf5c1b2
Include extensions when building Create & Update activities
2019-04-04 16:57:46 -04:00
Matt Baer
78107a0269
Merge branch 'master' of github.com:writeas/web-core
2019-04-04 16:36:11 -04:00
Matt Baer
528e59e922
Update README to explain use in WriteFreely
2019-04-04 16:35:50 -04:00
Matt Baer
ad1a4272b0
Support new commentsEnabled property
...
This adds a CommentsEnabled field to the activitystreams.Object struct,
as well as the Extensions needed in the Context field in order to
describe the field.
This is a field previously supported by PeerTube, and just recently
added in PixelFed.
2019-04-04 16:29:00 -04:00
Matt Baer and GitHub
9884cdaa8a
Merge pull request #2 from SamWhited/support_modules
...
Support Go Modules
2019-02-01 17:30:18 +01:00
Sam Whited
cee61547fa
Support Go Modules
...
Fixes #1
2019-02-01 10:28:46 -06:00
Matt Baer
ce8cb5ee19
Use #writefreely badge, not Slack
v1.1.0
2019-01-10 21:42:25 -05:00
Matt Baer
5631982c2b
Support creating word-ish password
...
This adds the NewWordish() func
2019-01-10 20:46:03 -05:00
Matt Baer
4cb17a6518
Add title dash
...
This defaults to the em dash, but uses an en dash on German posts.
Part of writeas/writefreely#1
v1.0.0
2018-12-24 13:48:21 -05:00
Matt Baer
05f387ffa1
Omit empty endpoints.sharedInbox
...
This fixes writeas/writefreely#8
2018-11-11 11:55:28 -05:00
Matt Baer
265880c2cf
Add tags package documentation
2018-10-28 12:01:02 -04:00
Matt Baer
316410bd35
Don't fail test when repeat slug generated
2018-10-16 23:21:12 -04:00
Matt Baer
3d47537e1f
Add stringmanip package
2018-10-16 22:58:06 -04:00
Matt Baer
567e0c6ef0
Add i18n.LangIsRTL func
2018-10-16 20:38:27 -04:00
Matt Baer
73bffef9af
Add tags.Extract() func
2018-10-16 20:33:34 -04:00
Matt Baer
e5a5d63c6f
Add Convert(JSON|SQL) funcs
2018-10-16 18:26:08 -04:00
Matt Baer
6c98a50085
Add safe slug generation func in package id
2018-10-15 17:41:41 -04:00
Matt Baer
fcb3ad5c6b
Add query package
2018-10-14 19:08:14 -04:00
Matt Baer
3b93e92115
Fix Travis Go version
2018-10-14 15:52:15 -04:00
Matt Baer
7ea3998ccf
Add new auth funcs for parsing tokens
2018-10-14 15:35:33 -04:00