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
28cf6b3866
Fix TestNewImageAttachment tests
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()
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
68a680d1b0
Add silobridge package
2020-08-13 12:17:34 -04:00
Matt Baer
f54ee176fc
Remove commentsEnabled AP extension
...
This isn't used.
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
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
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
ce8cb5ee19
Use #writefreely badge, not Slack
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
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
Matt Baer
41f4a1a2fa
Add package log
2018-10-14 15:25:23 -04:00
Matt Baer
b414a83eb5
Change license from MIT to MPL
2018-10-14 15:21:12 -04:00
Matt Baer
355476e321
Add posts.ExtractTitle func
2018-10-10 15:16:54 -04:00
Matt Baer
73c7314873
Update Travis file to Go 1.10
2018-09-30 20:08:15 -04:00
Matt Baer
27237b1fff
Add Slovak localization
2018-09-23 15:47:00 -04:00
Matt Baer
3d934b1599
Add Turkish localization
2018-09-14 17:58:17 +02:00
Matt Baer
e4ab903634
Update Arabic translations
2018-09-03 16:59:52 -04:00
Matt Baer
789448b7de
Add Tajik localization
2018-09-02 12:44:33 -04:00
Matt Baer
5baecfdf93
Add Persian localization
2018-09-02 12:44:15 -04:00
Matt Baer
b3715b7357
Add Esperanto localization
2018-09-02 12:43:58 -04:00
Matt Baer
ce799c9a50
Add Arabic localization
2018-09-02 12:43:37 -04:00
Matt Baer
f79ee1acb1
Support decoding public keys
2018-08-21 16:43:21 -04:00
Matt Baer
eba1520b79
Support tag property on objects
2018-08-18 12:34:29 -04:00
Matt Baer
63de2e6491
Support creating Follow activities
2018-08-17 20:42:39 -04:00
Matt Baer
9d28aa5dab
Add NewUpdateActivity func
2018-08-16 20:31:25 -04:00
Matt Baer
b9e200c53b
Use object's Published date in Create activity
2018-08-12 22:34:31 -04:00
Matt Baer
e373e59418
Allow any type in OrderedCollectionPage.OrderedItems
2018-08-11 10:52:24 -04:00
Matt Baer
d9bfef1071
Add Friendica as bot
2018-08-10 16:46:02 -04:00
Matt Baer
65e5e6cf6d
Add forum badge
2018-08-10 11:02:00 -04:00
Matt Baer
be77b6dedc
Create activities only with ID
...
Instead of including /activity at the end
2018-08-08 16:04:01 -04:00
Matt Baer
7182ec7db1
Add hackney as bot
2018-08-08 16:03:14 -04:00
Matt Baer
c9787530db
Support creating Delete activities
2018-08-08 15:29:42 -04:00
Matt Baer
582ab04ab5
Move explicit bot UA string tests to prefix tests
...
Also look for python-requests/*
2018-08-04 17:28:29 +02:00
Matt Baer
0f417dd897
Add documentation to activity.go
...
Including the activitystreams package.
2018-08-04 14:38:40 +02:00
Matt Baer
badc52773f
Add repo description
2018-08-04 14:28:57 +02:00
Matt Baer
e998deef94
Add GoDoc link
2018-08-04 14:23:44 +02:00
Matt Baer
26688eb59d
Move namespace string into const
2018-08-04 14:23:14 +02:00
Matt Baer
57919aaaec
Add Endpoints property to Actor
2018-08-03 00:22:42 +02:00
Matt Baer
50824cd75a
Fix parsing @context property
...
Previously this would fail if the @context property also contained
something other than a string, like Mastodon does.
2018-08-03 00:21:06 +02:00
Matt Baer
2b398e3b5a
Support Article objects
...
Includes a new Name field for them to use.
2018-07-24 20:09:31 +02:00
Matt Baer
a0cf234c62
Add Chinese (simplified) localization
2018-07-09 09:50:29 -04:00
Matt Baer
25bf5066c6
Remove http.rb version numbers from bots test
2018-07-04 16:50:43 -04:00
Matt Baer
320f1f152e
Move openssl func to openssl-go library
2018-06-26 18:58:38 -04:00
Matt Baer
98f3fe9a4c
Add missing Context property in Create activity
2018-06-25 13:37:46 -04:00
Matt Baer
2432e9717e
Make OrderedCollection{Page} funcs generalized for any collection
2018-06-25 13:37:08 -04:00
Matt Baer
d67ec28bcc
Leave out certain properties in Activity JSON
2018-06-25 13:35:47 -04:00
Matt Baer
05ac12f10e
Add privateKey on Person
2018-06-25 11:32:12 -04:00
Matt Baer
b417e93a0f
Switch to calling openssl
2018-06-25 11:31:30 -04:00
Matt Baer
602e989e59
Switch keypair generation to OpenSSL
2018-06-25 00:28:14 -04:00
Matt Baer
c55606d47d
Add keypair generation funcs
2018-06-24 23:46:42 -04:00
Matt Baer
b5d7dbe3a3
Add support for including a public key on a Person
2018-06-24 21:08:46 -04:00
Matt Baer
d16108618b
Add basic Note and Activity types
2018-06-24 21:06:26 -04:00
Matt Baer
e7db291bd3
Add BaseObject
2018-06-22 17:11:07 -04:00
Matt Baer
e99c8d6b4d
Add basic activitystreams.Person type
2018-06-22 16:42:38 -04:00
Matt Baer
87cd941e59
Add Polish localization
2018-05-19 07:44:23 -04:00
Matt Baer
d48e7361ba
Add Greek localization
2018-05-18 14:03:59 -04:00
Matt Baer
be5c5d2acb
Add ApplyBasicMarkdown func
2018-04-30 23:37:39 -04:00
Matt Baer
5f3aa533bf
Add Portuguese (BR) localization
2018-04-06 17:25:35 -04:00
Matt Baer
2284f875d6
Add Snap.as error
2018-04-03 14:10:48 -04:00
Matt Baer
8cbd598abb
Add "username taken" error
2018-03-27 22:09:07 -04:00
Matt Baer
e994cb9bf8
Add JSON and SQL converters for gorilla/schema
2018-03-27 22:08:02 -04:00
Matt Baer
b150adf2e1
Add general shared errors
2018-03-27 15:47:37 -04:00
Matt Baer
0ef4cd1ea3
Add Swedish localization
2018-03-20 18:29:30 -04:00
Matt Baer
ece744bff0
Add missing German translations
2018-03-18 00:06:51 -04:00
Matt Baer
0170934311
Add Macedonian localization
2018-03-12 01:00:49 -04:00
Matt Baer
e0ca8bf593
Add Russian localization
2018-02-17 11:32:21 -05:00
Matt Baer
7f10ebc8da
Add phrases for password-protected blogs
2018-02-17 11:18:21 -05:00
Matt Baer
ad6a888aa3
Add Japanese localization
2018-02-05 18:06:10 -05:00
Matt Baer
4c01620761
Add incomplete German localization
2018-02-05 02:45:48 -05:00
Matt Baer
2bd12efc2d
Merge branch 'master' of github.com:writeas/web-core
2018-02-05 02:19:57 -05:00
Matt Baer
d07d3fca79
Add Spanish localization
2018-02-05 02:19:41 -05:00
Matt Baer
5070722aaa
Add Romanian localization
2018-02-05 02:17:46 -05:00
Matt Baer
4de1dd40df
Add French localization
2018-02-05 02:16:13 -05:00
Matt Baer
4b1a31b0af
Add Italian localization
2018-02-05 01:26:14 -05:00
Matt Baer
5e9c5baf35
Document Strings() func
2018-02-05 01:24:32 -05:00
Matt Baer
2e97d00a61
Add Hungarian localization
2018-02-05 00:55:39 -05:00