rinpatch [Fri, 18 Jan 2019 15:30:06 +0000 (18:30 +0300)]
unfurl_nsfw: false by default
rinpatch [Fri, 18 Jan 2019 07:35:52 +0000 (10:35 +0300)]
Fix ostatus test
rinpatch [Fri, 18 Jan 2019 07:28:19 +0000 (10:28 +0300)]
Remove custom emojis and trailing whitespaces from previews
rinpatch [Fri, 18 Jan 2019 06:32:52 +0000 (09:32 +0300)]
Use object instead of activity for metadata
rinpatch [Thu, 17 Jan 2019 19:57:24 +0000 (22:57 +0300)]
Fix object id in OpenGraph test
rinpatch [Thu, 17 Jan 2019 17:18:28 +0000 (20:18 +0300)]
Don't show content if empty or zero width space
rinpatch [Thu, 17 Jan 2019 16:00:08 +0000 (19:00 +0300)]
Fix the issue with get_by_nickname never being called
rinpatch [Thu, 17 Jan 2019 08:08:50 +0000 (11:08 +0300)]
Fix test
rinpatch [Thu, 17 Jan 2019 08:00:02 +0000 (11:00 +0300)]
Introduce optional unfurling of nsfw content
rinpatch [Thu, 17 Jan 2019 07:34:19 +0000 (10:34 +0300)]
Use object url instead of a hack
rinpatch [Thu, 17 Jan 2019 06:18:46 +0000 (09:18 +0300)]
Apply feld's patch
rinpatch [Wed, 16 Jan 2019 15:04:41 +0000 (18:04 +0300)]
Remove @providers and call Pleroma.config on runtime
rinpatch [Wed, 16 Jan 2019 15:02:46 +0000 (18:02 +0300)]
Remove useless with in opengraph.ex
rinpatch [Wed, 16 Jan 2019 15:01:17 +0000 (18:01 +0300)]
oof
rinpatch [Wed, 16 Jan 2019 14:58:11 +0000 (17:58 +0300)]
remove id cast
rinpatch [Wed, 16 Jan 2019 14:44:08 +0000 (17:44 +0300)]
cache ap_id in id instead of caching user two times
rinpatch [Wed, 16 Jan 2019 14:19:01 +0000 (17:19 +0300)]
oops
rinpatch [Wed, 16 Jan 2019 14:16:28 +0000 (17:16 +0300)]
forgot to remove this thing
rinpatch [Wed, 16 Jan 2019 14:15:13 +0000 (17:15 +0300)]
join us now and share the software~. Also tests
rinpatch [Wed, 16 Jan 2019 13:52:01 +0000 (16:52 +0300)]
Replace map with reduce to remove nils
rinpatch [Wed, 16 Jan 2019 08:18:25 +0000 (11:18 +0300)]
Remove caching because it does not affect performance and may be even worse in some cases
rinpatch [Wed, 16 Jan 2019 07:53:57 +0000 (10:53 +0300)]
Remove OpenGraph test from Ostatus tests
rinpatch [Wed, 16 Jan 2019 07:45:56 +0000 (10:45 +0300)]
Add config doc
rinpatch [Wed, 16 Jan 2019 07:38:42 +0000 (10:38 +0300)]
Add a fallback function to handle generic params, just in case
rinpatch [Wed, 16 Jan 2019 07:35:06 +0000 (10:35 +0300)]
Thanks you rinpatch, very cool
rinpatch [Wed, 16 Jan 2019 07:30:47 +0000 (10:30 +0300)]
No need to use activity in the key
rinpatch [Wed, 16 Jan 2019 07:26:01 +0000 (10:26 +0300)]
add caching
rinpatch [Wed, 16 Jan 2019 06:42:24 +0000 (09:42 +0300)]
Disable previews for any activity, but create
rinpatch [Tue, 15 Jan 2019 21:07:28 +0000 (00:07 +0300)]
cache HTML in OGP
rinpatch [Tue, 15 Jan 2019 20:25:28 +0000 (23:25 +0300)]
Add behaviours to TwitterCard, remove some dumb stuff in Formatter.truncate
rinpatch [Tue, 15 Jan 2019 20:00:22 +0000 (23:00 +0300)]
Add twitter card, filter nsfw
rinpatch [Tue, 15 Jan 2019 18:47:45 +0000 (21:47 +0300)]
Add space between name and nickname
rinpatch [Tue, 15 Jan 2019 18:20:27 +0000 (21:20 +0300)]
Formating
rinpatch [Tue, 15 Jan 2019 18:17:56 +0000 (21:17 +0300)]
Attach attachments
rinpatch [Tue, 15 Jan 2019 17:00:21 +0000 (20:00 +0300)]
Introduce get_by_id in Activity, replace newlines with spaces
rinpatch [Tue, 15 Jan 2019 16:43:52 +0000 (19:43 +0300)]
refactor opengraph to a different module with a behaviour
rinpatch [Tue, 15 Jan 2019 15:34:47 +0000 (18:34 +0300)]
remove useless newlines after every tag. Make domain.com/username provide opengraph too
rinpatch [Tue, 15 Jan 2019 09:11:07 +0000 (12:11 +0300)]
add a fallback function
rinpatch [Tue, 15 Jan 2019 09:02:55 +0000 (12:02 +0300)]
please don't bully me for this
rinpatch [Tue, 15 Jan 2019 08:59:05 +0000 (11:59 +0300)]
cringe
rinpatch [Tue, 15 Jan 2019 08:56:35 +0000 (11:56 +0300)]
Fix some edge cases [nervous laughter]
rinpatch [Tue, 15 Jan 2019 08:00:17 +0000 (11:00 +0300)]
Move metadata.ex out of ostatus
rinpatch [Mon, 14 Jan 2019 06:52:52 +0000 (09:52 +0300)]
Prefer ids to usernames
rinpatch [Sun, 13 Jan 2019 10:38:28 +0000 (13:38 +0300)]
Resolve merge conflict
rinpatch [Sun, 13 Jan 2019 10:00:53 +0000 (13:00 +0300)]
Reset index.html to develop
rinpatch [Sun, 13 Jan 2019 09:58:49 +0000 (12:58 +0300)]
Remove .idea
kaniini [Fri, 11 Jan 2019 23:09:41 +0000 (23:09 +0000)]
Merge branch 'bugfix/pinned-statuses' into 'develop'
Unpin when deleting a status
See merge request pleroma/pleroma!655
scarlett [Fri, 11 Jan 2019 10:02:25 +0000 (10:02 +0000)]
Merge branch 'fix-spellign' into 'develop'
Fix spellign.
See merge request pleroma/pleroma!656
scarlett [Fri, 11 Jan 2019 09:55:33 +0000 (09:55 +0000)]
Fix spellign.
Egor Kislitsyn [Fri, 11 Jan 2019 05:47:44 +0000 (12:47 +0700)]
typo
Egor Kislitsyn [Fri, 11 Jan 2019 05:31:31 +0000 (12:31 +0700)]
unpin when deleting a status
kaniini [Thu, 10 Jan 2019 18:49:00 +0000 (18:49 +0000)]
Merge branch 'fix-varnish-chunked' into 'develop'
Fix varnish chunked and general improvements
See merge request pleroma/pleroma!653
kaniini [Thu, 10 Jan 2019 18:42:36 +0000 (18:42 +0000)]
Merge branch 'activitypub-dereference-activity-id' into 'develop'
Support activity+json request for activity
See merge request pleroma/pleroma!641
Mark Felder [Thu, 10 Jan 2019 18:29:36 +0000 (18:29 +0000)]
Consistent intentation
Mark Felder [Thu, 10 Jan 2019 18:28:14 +0000 (18:28 +0000)]
Cache partial objects for 10 minutes
This enables caching/streaming of chunked responses
Mark Felder [Thu, 10 Jan 2019 18:23:22 +0000 (18:23 +0000)]
Streaming is enabled by default
Support more filetypes for caching static media
kaniini [Thu, 10 Jan 2019 18:09:56 +0000 (18:09 +0000)]
Merge branch 'feature/add-twitter-card-parser' into 'develop'
Add Twitter Card parser
See merge request pleroma/pleroma!643
Maxim Filippov [Thu, 10 Jan 2019 18:09:56 +0000 (18:09 +0000)]
Add Twitter Card parser
kaniini [Thu, 10 Jan 2019 18:03:32 +0000 (18:03 +0000)]
Merge branch 'twapi-follower-pagination' into 'develop'
Twapi follower pagination
See merge request pleroma/pleroma!648
Haelwenn [Thu, 10 Jan 2019 03:54:29 +0000 (03:54 +0000)]
Merge branch 'bugfix/markdown-newline-codeblocks' into 'develop'
common api: fix newlines in markdown code blocks
See merge request pleroma/pleroma!651
William Pitcock [Thu, 10 Jan 2019 03:46:34 +0000 (03:46 +0000)]
test: common api: add tests for format_input/4
William Pitcock [Thu, 10 Jan 2019 03:45:58 +0000 (03:45 +0000)]
common api: utils: remove newline to <br> conversion from bare HTML to be consistent with markdown
ok @lanodan
William Pitcock [Thu, 10 Jan 2019 02:22:11 +0000 (02:22 +0000)]
common api: fix newlines in markdown code blocks
kaniini [Thu, 10 Jan 2019 02:39:53 +0000 (02:39 +0000)]
Merge branch 'feature/pinned-posts' into 'develop'
Pinned Statuses
Closes #440
See merge request pleroma/pleroma!636
kaniini [Thu, 10 Jan 2019 02:33:11 +0000 (02:33 +0000)]
Merge branch 'mass-follow' into 'develop'
Mass follow
See merge request pleroma/pleroma!642
kaniini [Thu, 10 Jan 2019 02:31:29 +0000 (02:31 +0000)]
Merge branch 'dm-optimizations' into 'develop'
Add activity visibility index.
See merge request pleroma/pleroma!646
kaniini [Thu, 10 Jan 2019 01:08:33 +0000 (01:08 +0000)]
Merge branch 'fix-alphasort' into 'develop'
Alpha sort the restricted nicknames
See merge request pleroma/pleroma!650
Mark Felder [Thu, 10 Jan 2019 00:06:03 +0000 (00:06 +0000)]
Alpha sort the restricted nicknames
rinpatch [Wed, 9 Jan 2019 18:42:00 +0000 (18:42 +0000)]
Merge branch 'hotfix/ogp-cachex-fix' into 'develop'
Rich media: Remove :commit since a tuple is already returned
See merge request pleroma/pleroma!649
rinpatch [Wed, 9 Jan 2019 18:35:01 +0000 (21:35 +0300)]
Remove :commit since a tuple is already returned
lain [Wed, 9 Jan 2019 17:17:23 +0000 (18:17 +0100)]
Add integer casts.
lain [Wed, 9 Jan 2019 17:14:32 +0000 (18:14 +0100)]
TwitterAPI: Add follower/following pagination.
lambda [Wed, 9 Jan 2019 16:26:38 +0000 (16:26 +0000)]
Merge branch 'scarlett/pleroma-summary-html-api' into 'develop'
Scarlett/pleroma summary html api
See merge request pleroma/pleroma!647
lain [Wed, 9 Jan 2019 16:18:37 +0000 (17:18 +0100)]
Add test for summary_html
lain [Wed, 9 Jan 2019 15:55:05 +0000 (16:55 +0100)]
Build the index concurrently.
lain [Wed, 9 Jan 2019 15:45:09 +0000 (16:45 +0100)]
Add activity visibility index.
Egor Kislitsyn [Wed, 9 Jan 2019 12:54:37 +0000 (19:54 +0700)]
improve tests
Egor Kislitsyn [Wed, 9 Jan 2019 12:54:19 +0000 (19:54 +0700)]
Add Twitter API for the pinned statuses
```
# Only return statuses that have been pinned
GET /api/statuses/user_timeline.json?pinned=true
# Pin
POST /api/statuses/pin/:id
# Unpin
POST /api/statuses/unpin/:id
```
Egor Kislitsyn [Wed, 9 Jan 2019 10:40:15 +0000 (17:40 +0700)]
only non-reblogs, self-authored, public statuses can be pinned
lain [Wed, 9 Jan 2019 10:38:45 +0000 (11:38 +0100)]
Use follow_all in autofollow.
lain [Wed, 9 Jan 2019 10:35:23 +0000 (11:35 +0100)]
Add User mass following function.
Egor Kislitsyn [Wed, 9 Jan 2019 10:02:30 +0000 (17:02 +0700)]
move defaults from sample_config.exs to config.exs
Egor Kislitsyn [Wed, 9 Jan 2019 09:56:31 +0000 (16:56 +0700)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
# Conflicts:
# docs/config.md
sxsdv1 [Tue, 8 Jan 2019 22:22:15 +0000 (23:22 +0100)]
Support activity+json request for activity
kaniini [Wed, 9 Jan 2019 07:09:39 +0000 (07:09 +0000)]
Merge branch 'hotfix/media-proxy-uri' into 'develop'
user: fix local vs remote determination in remote_or_auth_active?/1
See merge request pleroma/pleroma!640
William Pitcock [Wed, 9 Jan 2019 07:03:32 +0000 (07:03 +0000)]
test: user: add tests for visible_for?/2
William Pitcock [Wed, 9 Jan 2019 06:50:31 +0000 (06:50 +0000)]
tests: user: add tests for superuser?/1
William Pitcock [Wed, 9 Jan 2019 06:45:17 +0000 (06:45 +0000)]
user: fix auth_active?/1 for remote users
William Pitcock [Wed, 9 Jan 2019 06:41:25 +0000 (06:41 +0000)]
user: factor out illogical User.Info.superuser?/1.
any actual callee will be dealing with a User struct to begin with, so
just check the child struct inside User.superuser?/1 with pattern matching.
William Pitcock [Wed, 9 Jan 2019 06:36:50 +0000 (06:36 +0000)]
user: remove entirely redundant remote_or_auth_active?/1.
auth_active?/1 can check remote users and return true directly.
William Pitcock [Wed, 9 Jan 2019 06:21:21 +0000 (06:21 +0000)]
user: harden auth_active?/1, superuser?/1, visible_for?/1
William Pitcock [Wed, 9 Jan 2019 05:02:00 +0000 (05:02 +0000)]
tests: user: add regression test for remote_or_auth_active?/1
William Pitcock [Wed, 9 Jan 2019 04:46:03 +0000 (04:46 +0000)]
user: use pattern matching to determine if user is local or remote instead of the previous hairy logic
rinpatch [Tue, 8 Jan 2019 22:58:19 +0000 (22:58 +0000)]
Merge branch 'autofollow' into 'develop'
Add a setting for users to autofollow on sign up.
See merge request pleroma/pleroma!639
Egor Kislitsyn [Tue, 8 Jan 2019 09:32:07 +0000 (16:32 +0700)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
Egor Kislitsyn [Tue, 8 Jan 2019 09:11:03 +0000 (16:11 +0700)]
add default configuration for the pinned statuses and some doc
Egor Kislitsyn [Tue, 8 Jan 2019 09:01:35 +0000 (16:01 +0700)]
improve test readability
lain [Tue, 8 Jan 2019 08:55:33 +0000 (09:55 +0100)]
Add a setting for users to autofollow on sign up.
Egor Kislitsyn [Tue, 8 Jan 2019 08:32:06 +0000 (15:32 +0700)]
fix test
Egor Kislitsyn [Tue, 8 Jan 2019 08:27:02 +0000 (15:27 +0700)]
add `pinned` property to `StatusView`