Wykres commitów

683 Commity (imp/composer-improvements)

Autor SHA1 Wiadomość Data
Maxence Lange 5ddf8ee7c2 removing tag for debug purpose
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange 8cb56b0710 limit to viewable notes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange 6f3f8fb86d add # if missing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange 833d19617b new Search endpoint
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange 3ef7737d14 fill the server_hashtags with hashtags and trends
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange c7d1da1f53 get stream for hashtag
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange 47fa5d08f3 save hashtags and get from database
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange cb7583c68c validate tags (mention and hashtags) on incoming request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange 01ed889984 adding hashtags on post creation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange f5da0c0e7e tags -> hashtags
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange a5427a35a9 add table 'server_tags', and field 'tags' in table 'server_notes'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 15:10:24 -01:00
Maxence Lange d195dc5878
removing CSRF tag from streamNotifications
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:03 +01:00
Maxence Lange cca75bcb09
object returned in the stream
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:03 +01:00
Maxence Lange 86f8465695
cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:03 +01:00
Maxence Lange ac629503e9
fixing some field when generating the Announce in DB
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:03 +01:00
Maxence Lange e830a82a45
Note and Announce should extends Model/Stream
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:03 +01:00
Maxence Lange e6dbb363fd
activityId is saved in db for streamable objects
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:02 +01:00
Maxence Lange 0da74520d0
implementing caching for incoming request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:02 +01:00
Maxence Lange c0f304cd5b
cleaning and renaming upsteam request caching
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:02 +01:00
Maxence Lange 53b4137575
Follow moved from Activity -> Object
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:02 +01:00
Maxence Lange 7c94576585
Stream object
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:21:02 +01:00
Maxence Lange e77f2f30cf
Model and Interface: Announce
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-05 16:20:59 +01:00
Maxence Lange e8fd2c1d61 getUrlSocial would work on custom apps folder
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-01 09:21:22 -01:00
Maxence Lange c20aaf1ad6 allow FOLLOWLOCATION
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-31 17:25:43 -01:00
Maxence Lange ee81f3717c varchar(255) -> varchar(2000)
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-30 15:41:06 -01:00
Maxence Lange 1486e6454a
Merge pull request #340 from nextcloud/feature/333/refresh-detail-cache-on-new-follows
Refresh some Actor details in cache on Follow events
2019-01-20 21:35:24 -01:00
Maxence Lange ed6833d7af rewrite and return attachments
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange c28bcae44d migrations
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange 145d748b03 saving document throw interface
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange 524c7aa141 save/update
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange 898993a67d set primary
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange d207a22f33 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange 5236dd4ae8 Image and document interfaces
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange 059711f28a add attachment and parent_id field
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange 75feeaf24e add attachment and parent_id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Maxence Lange c22724c0bb enlarge some field in db
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-19 11:14:38 -01:00
Julius Härtl 4fdacb38dc
Merge pull request #335 from nextcloud/bugfix/330/add-context-on-actor
add w3 @context in actor
2019-01-19 12:50:20 +01:00
Julius Härtl 13d61f6507
Merge pull request #336 from nextcloud/feature/noid/not-json-exception-on-request
throw RequestResultNotJsonException on unusual result
2019-01-19 12:48:59 +01:00
Maxence Lange 83dc3bea01
Merge pull request #344 from emersonkfuri/emersonkfuri-patch-1
Failed to load more timeline entries
2019-01-18 09:03:20 -01:00
Emerson Kfuri 1713559ec9 Update CacheActorsRequest.php
Signed-off-by: emersonkfuri <emersonkfuri@gmail.com>
2019-01-17 15:49:39 -02:00
emersonkfuri 15ca69a6d0 Always use $account as local account (suppress @instance)
Signed-off-by: emersonkfuri <emersonkfuri@gmail.com>
2019-01-17 15:35:04 -02:00
Emerson Kfuri b353704548 Update CacheActorsRequest.php
Signed-off-by: Emerson Kfuri <emersonkfuri@gmail.com>
2019-01-17 00:42:50 -02:00
Maxence Lange 7ab0a7f334 get_class in log
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-16 16:43:23 -01:00
Maxence Lange 754c9d761c some fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-16 12:11:45 -01:00
Maxence Lange 4a6c8f12af cache Actor on followed/unfollowed + following/unfollowing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-16 12:06:20 -01:00
Maxence Lange 3a1ccc4c87 fixing var name
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-16 12:00:59 -01:00
Maxence Lange 5d48497717 +RequestResultNotJsonException
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-15 12:30:02 -01:00
Maxence Lange daf473c9a0 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-15 12:29:14 -01:00
Maxence Lange 5890714307 add w3 @context in actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-15 09:35:06 -01:00
Maxence Lange f4cd1310c0 signature can be 5min old
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-15 09:20:45 -01:00
Maxence Lange 9a8a736a49 check address of the account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-09 15:09:09 +00:00
Maxence Lange 42f482fa34
Merge pull request #304 from nextcloud/bugfix/noid/compat-friendica
Compat friendica
2019-01-04 10:37:59 -01:00
Maxence Lange 89cd8fa88c only valid base64
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-04 10:14:30 -01:00
Maxence Lange 721a060b48 add nonce to hash
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-04 09:34:57 -01:00
Maxence Lange dc3bbe9652 set nonce
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-04 09:32:50 -01:00
Maxence Lange a7e1c93361 enlarge size of public key
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-04 09:32:14 -01:00
Maxence Lange 3e9ca2f940 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-04 09:28:58 -01:00
Maxence Lange 4c013f149f wait slightly longer
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-03 16:23:45 -01:00
Maxence Lange 487deb30db detailled logs
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-03 16:23:23 -01:00
Maxence Lange c9a2adafbb there is no use to check twice
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-03 15:49:31 -01:00
Maxence Lange a1410b7ed8 generate Id on Undo
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-03 10:37:02 -01:00
Maxence Lange 3e8694ff53 using AP object to generate items so UrlCloud is set by default
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-03 10:36:46 -01:00
Julius Härtl f54b346bd0
Merge pull request #274 from nextcloud/feature/219/update-actor
Using signature date as 'creation' date
2019-01-03 11:55:34 +01:00
Maxence Lange 4d8c69671c no need tor format()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-03 09:22:22 -01:00
Maxence Lange 638e20d3fc using signature date as 'creation' date
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-03 09:21:21 -01:00
Julius Härtl 6afde12932
Move follow/unfollow to store and rework account store handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-03 10:01:03 +01:00
Maxence Lange dd30d98cac refresh keys after 7 days
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-02 23:49:00 -01:00
Maxence Lange 43fc850c18 limit update to id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-02 23:49:00 -01:00
Maxence Lange 88a19839c8 on signature check fail, update public key
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-02 23:49:00 -01:00
Maxence Lange 2f58b91408 update data instead of delete+save
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-01-02 23:48:34 -01:00
Julius Härtl 6b74286bd0
Merge pull request #283 from nextcloud/code/noid/rewrite-exception-on-request
[huge] rewrite of the exceptions while requesting remote instance
2019-01-02 23:31:23 +01:00
Julius Härtl 65dc245807
Merge pull request #275 from nextcloud/optimisation/noid/async-only-if-queued-request
check if there is standby request related to token
2019-01-02 18:08:04 +01:00
Julius Härtl df289d46f4
Merge pull request #279 from nextcloud/bugfix/269/getinsecureserverhost
switch to getInsecureServerHost
2019-01-02 16:53:35 +01:00
Julius Härtl 9be2302834
Merge pull request #280 from nextcloud/bugfix/noid/delete-on-object-id
get item by Id and delete it
2019-01-02 16:51:49 +01:00
Julius Härtl 17e0e078b8
Merge pull request #281 from nextcloud/bugfix/noid/ending-slash-in-webfinger
removing trail slash in the id of the Person
2019-01-02 16:24:42 +01:00
Julius Härtl 6d4e8ff281
Merge pull request #284 from nextcloud/cleaning-291218
unused import
2019-01-02 16:23:45 +01:00
Maxence Lange 93938bbaa4 compare from a list
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-31 09:34:53 -01:00
Maxence Lange 59d1b578a9 unused import
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-29 13:21:52 -01:00
Maxence Lange ed98204d47 rewrite of the exceptions while requesting remote instance
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-29 13:07:57 -01:00
Maxence Lange c236a70c09 removing trail slash in the id of the Person
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-27 10:30:36 -01:00
Maxence Lange 918d595193 get item by Id and delete it
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-27 10:04:03 -01:00
Maxence Lange 7a7462bfe8 assuming the host is the address of the account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-26 22:38:23 -01:00
Maxence Lange 89c8d9718b validate host
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-26 22:33:46 -01:00
Maxence Lange 90f18ea621 switch to getInsecureServerHost
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-26 22:21:17 -01:00
Maxence Lange 02687476ff check if there is standby request related to token
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-24 09:48:26 -01:00
Julius Härtl 1fd2905e37
Merge pull request #255 from nextcloud/bugfix/noid/htmlentity
htmlentities encode/decode
2018-12-21 17:41:30 +01:00
Maxence Lange 1570d9cd3d content of note is validated only when imported from database
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-21 12:50:03 -01:00
Jan-Christoph Borchardt 588be2e4ff
Merge pull request #261 from nextcloud/bugfix/noid/nocsrfcheck
adding NoCSRFRequired to globalActorAvatar
2018-12-21 14:18:07 +01:00
Maxence Lange fe8abe2db0
Merge pull request #256 from nextcloud/origin-check-final
checking origin of the object
2018-12-21 10:50:49 -01:00
Maxence Lange dee7a6db7c
Merge pull request #217 from nextcloud/bugfix/207/revert-and-switch-to-text
varchar->text
2018-12-21 10:50:32 -01:00
Maxence Lange b373bb0ffb
Merge pull request #254 from nextcloud/bugfix/noid/non-case-sensitive-checking
+strtolower()
2018-12-21 09:59:42 -01:00
Maxence Lange 20f01a24ef adding NoCSRFRequired to globalActorAvatar
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-21 09:41:02 -01:00
Maxence Lange f5579329ee checking origin of the object
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-21 00:02:34 -01:00
Maxence Lange 7ba6beb745 htmlentities encode/decode
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 23:59:38 -01:00
Maxence Lange 5e0cb1f92d changing field in 4 steps
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 21:35:13 -01:00
Jan-Christoph Borchardt d334d117f7
Merge pull request #252 from nextcloud/bugfix/233/add-reset-command
./occ social:reset
2018-12-20 21:57:13 +01:00
Jan-Christoph Borchardt 2b43a077ce
Merge pull request #251 from nextcloud/clean/moving-signing-header
signed header generation moved to SignatureService
2018-12-20 21:55:45 +01:00
Maxence Lange 3906c391d5 +strtolower()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 15:52:59 -01:00
Maxence Lange b5b5690ab8 enabling sha512
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 15:51:09 -01:00
Maxence Lange 87629329f4 ./occ social:reset
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 12:20:52 -01:00
Maxence Lange df4fbf9589 oops, we're not sure the key exists.
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 11:43:08 -01:00
Maxence Lange 4bda4a242e add algorithm="" to header - #238
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 11:40:34 -01:00
Maxence Lange fb8e11a000 including the host
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 11:26:39 -01:00
Maxence Lange 2a41f1ea1d signed header generation moved to SignatureService
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 11:22:48 -01:00
Roeland Jago Douma b9f44777af
@NoSubAdminRequired is not needed
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 13:05:08 +01:00
Maxence Lange a8fea82b23
Merge pull request #244 from nextcloud/cleanup/public-pages
Public page frontend fixes
2018-12-20 10:53:50 -01:00
Julius Härtl e7e4ba2d60
Remove setCompleteDetails that is not required
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 11:50:59 +01:00
Julius Härtl a951c01aff
Fix details for public viewers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 11:34:44 +01:00
Julius Härtl 4253672fc1
Rework frontend controllers for page rendering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 11:07:49 +01:00
Maxence Lange c6943191f9 unused import
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-20 08:54:54 -01:00
Maxence Lange 80deaa8210 Merge branch 'master' into framework-import-process+activity
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 19:57:17 -01:00
Maxence Lange 35be62836f checking if the account is a valid mail address
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 19:24:05 -01:00
Maxence Lange b7e3a6dc2b cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 18:55:54 -01:00
Maxence Lange a636ec03a3 set the source of the signature (header or ld-json signature)
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 16:50:17 -01:00
Maxence Lange 1dda85adaa cleaning on moving post-merge
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 00:14:24 -01:00
Maxence Lange 37a889d978 Merge branch 'master' into framework-import-process+activity
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 00:13:33 -01:00
Julius Härtl b89bb4945f
Merge pull request #206 from nextcloud/verify-and-sign-object-RDF-normalization
linked data signature
2018-12-18 20:31:03 +01:00
Maxence Lange 713806a0af
Unfollow will send a request to remote instance 2018-12-18 19:48:47 +01:00
Maxence Lange 7a3d006dab
Merge pull request #181 from nextcloud/notifications-stream
adding route and content to the Notification Stream
2018-12-18 17:47:01 -01:00
Maxence Lange a493363a1a fixing phpdoc
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-18 17:37:05 -01:00
Maxence Lange 99b404785e
Merge pull request #176 from nextcloud/cleaning-todo
Cleaning some TODO
2018-12-18 17:23:10 -01:00
Maxence Lange a9f6a0add1
Merge pull request #196 from nextcloud/useless-value-while-communicate
Some data are only for internal use.
2018-12-18 17:12:47 -01:00
Maxence Lange cc779e3d7c
the all activity is signed, not just the object.
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-18 18:46:39 +01:00
Maxence Lange 840326aab7
fixing replyTo and @context generation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-18 18:46:39 +01:00
Maxence Lange c470f7f6d1
Signing Object, adding Signature and @context entry 2018-12-18 18:46:39 +01:00
Maxence Lange b99c3d4b67
VERIFY linked data signature 2018-12-18 18:46:38 +01:00
Maxence Lange 7a87a3c7ae
Merge pull request #197 from nextcloud/cleaning-followers-request
do not search for followers Id within the attributed_to field
2018-12-18 15:42:01 -01:00
Maxence Lange cfc79e1e0f
Merge pull request #179 from nextcloud/fix-unlisted-post
Display on to:PUBLIC message
2018-12-18 15:41:21 -01:00
Maxence Lange d803d77438 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-18 15:38:05 -01:00
Maxence Lange 428c14d37e
Merge branch 'master' into fill-follows-table 2018-12-18 15:24:51 -01:00
Maxence Lange 1ec6eb18cd cleaning array_merge([])
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-18 15:21:05 -01:00
Maxence Lange 47c658c32b bring back the request on new follow
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 09:54:28 -01:00
Maxence Lange 923bb732bd cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 09:54:16 -01:00
Maxence Lange eefada0e39 checking that the returned Person is from the remote instance
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 09:48:24 -01:00
Maxence Lange feb7728658 returns Person istead of Note
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 09:46:49 -01:00
Maxence Lange 0b23cff461 cleaning code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 08:28:06 -01:00
Maxence Lange b7e6609707 checking origin of actor when retrieving a remove account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 08:25:15 -01:00
Maxence Lange d923faabf3 cleaning code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 08:24:42 -01:00
Maxence Lange 86f2029834 using cache instead
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 08:12:43 -01:00
Maxence Lange a1f0ff0198 renaming services
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 08:12:27 -01:00
Maxence Lange d028ab206c init vars
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-17 08:06:03 -01:00
Maxence Lange 76775ddf28 static AP + interfaces
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-16 21:53:00 -01:00
Maxence Lange 7f2eede76b moving stuff around
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-13 08:40:27 -01:00
Maxence Lange 62c24da769
Merge branch 'master' into fix-ghost-account 2018-12-12 11:10:22 -01:00
Maxence Lange a7e644e7ac
Merge pull request #177 from nextcloud/async-only-if-valid-requests
Async the process only if there is request in STANDBY
2018-12-12 10:19:30 -01:00
Maxence Lange dce5299325 sizeof() -> empty() 2018-12-12 10:04:11 -01:00
Maxence Lange 63d6a1c384 add some logs 2018-12-12 09:46:46 -01:00
Maxence Lange c1e387c08f varchar->text 2018-12-12 08:50:54 -01:00
Maxence Lange 2c7cdcb702 include the getAccount within the try/catch 2018-12-12 08:44:13 -01:00
Maxence Lange 1761c3988f Merge branch 'master' into bigger-field-for-source 2018-12-10 20:14:18 -01:00
Maxence Lange 4342775a29 sizeof -> strlen 2018-12-10 19:54:28 -01:00
Roeland Jago Douma 0decc0371d
Merge branch 'master' into do-not-need-last-inserted-id 2018-12-10 21:27:18 +01:00
Maxence Lange 0dfe66b7f8 malformed call 2018-12-10 11:43:49 -01:00
Maxence Lange f32836b91c do not search for followers Id within the attributed_to field 2018-12-10 11:40:00 -01:00
Maxence Lange 81a4b5575b some data are only for internal use. 2018-12-10 11:35:26 -01:00
Maxence Lange 728c4c2888 let's make the 'activity' field a little bigger too 2018-12-10 09:45:57 -01:00
Maxence Lange 73cb46c432 fixing size of field in database using Migrations 2018-12-10 09:17:33 -01:00
Maxence Lange a9cc790950 check size of source entry before insert in database 2018-12-10 09:17:04 -01:00
Maxence Lange e644ec335c removing useless getLastInsertId() 2018-12-08 19:53:52 -01:00
Maxence Lange 995d611060 check installation on upgrade or account creation 2018-12-08 18:43:34 -01:00
Maxence Lange 8df77ff380 adding route and content to the Notification Stream 2018-12-08 11:41:56 -01:00
Maxence Lange 4a1366b8b6 Display on to:PUBLIC message 2018-12-08 11:22:27 -01:00
Maxence Lange 1d5bf5b969 detect ghost account and avoid them 2018-12-08 10:37:17 -01:00
Maxence Lange a7cee453c7 Async the process only if there is request in STANDBY 2018-12-08 10:32:54 -01:00
Maxence Lange 395b79860c cleaning some TODO
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-08 10:27:45 -01:00
Julius Härtl 8ff50dbbd7
Run well-known check after setup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-08 00:36:35 +01:00
Maxence Lange b7ac669cb3
Merge pull request #143 from nextcloud/support-sqlite
replace rightJoin -> join
2018-12-07 07:00:31 -01:00
Maxence Lange 361fd98a50 Merge branch 'feature/11/migrations'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-06 19:42:21 -01:00
Maxence Lange f08e7f29b1 fixing boolean and +avatar_version
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-06 19:36:03 -01:00
Maxence Lange 93e003ab41 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-06 19:33:29 -01:00
Maxence Lange 3cd29fe20c marking TODO
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-06 18:22:33 -01:00
Maxence Lange 648d132abe cleaning and fixing some SQL
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-06 18:18:25 -01:00
Maxence Lange c41c43c529 moving Person $actor around instead of $actorId
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-06 18:18:12 -01:00
Maxence Lange 296f8b3540 small fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-06 13:47:12 -01:00
Maxence Lange 33931508dd getStreamHome on sqlite
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 22:53:54 -01:00
Maxence Lange 530faa3bab cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 22:00:23 -01:00
Maxence Lange 9f9e6a75ef retrieve displayName on cache refresh
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 21:56:52 -01:00
Maxence Lange b8c992738d cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 20:21:45 -01:00
Maxence Lange ae90cc6117 directly set parent on setIcon/setObject
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 20:21:37 -01:00
Maxence Lange 589e39b572 use cache instead to display account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 20:19:59 -01:00
Maxence Lange a850153582 generate the entry in CacheDocuments and increment version
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 17:37:49 -01:00
Julius Härtl 554213c391
Reorder limit calls to fix sqlite query
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-05 18:21:46 +01:00
Maxence Lange a58dbbc3d5 replace rightJoin -> join
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 11:20:23 -01:00
Joas Schilling d1b8b283f2
fixup! Move over to Migrations 2018-12-05 13:17:33 +01:00
Maxence Lange dd2d591b68 nevermind, regression
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 10:54:19 -01:00
Maxence Lange ec0e6253a7 cleaning & fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 10:38:16 -01:00
Julius Härtl 2059a5f6cd
Merge pull request #135 from nextcloud-gmbh/fix/do-not-follow-your-own-account
exception when following yourself
2018-12-05 11:44:19 +01:00
Maxence Lange 1ec454ee3b cleaning and fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:08:45 -01:00
Julius Härtl 9d71a7b50c
Fix following and actor_info for account stream
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-05 10:49:44 +01:00
Maxence Lange 61a28c2171
get public messages from an account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:53:24 +01:00
Maxence Lange 6af499a817
fill followId and confirm local followers
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:53:23 +01:00
Maxence Lange aa3d417edb
non case sensitive allowed ids
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:53:23 +01:00
Maxence Lange 1b222bf469
renaming
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:53:23 +01:00
Maxence Lange 2a47f895ad
issue with some headers
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:53:23 +01:00
Maxence Lange 89848f8510
allow 200 and 202 as a valid status
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:53:23 +01:00
Maxence Lange 1248d3fc80
limit on Accepted followers
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:53:23 +01:00
Maxence Lange 374f312102
logging in/out request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:53:22 +01:00
Maxence Lange 3232df7a8c
exception when following yourself
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-05 09:35:33 +01:00
Roeland Jago Douma 1b00287cb4
Move over to Migrations
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-04 21:34:25 +01:00
Jan-Christoph Borchardt 64143fd105
Merge pull request #123 from nextcloud-gmbh/case-sensitive-requests
request with string id are now case insensitive
2018-12-04 19:18:25 +01:00
Jan-Christoph Borchardt ee6b6663f7
Merge pull request #114 from nextcloud-gmbh/validate-import
validate import on incoming request
2018-12-04 17:27:56 +01:00
Maxence Lange a7e0b2aba9
Merge branch 'master' into case-sensitive-requests 2018-12-04 13:51:36 -01:00
Julius Härtl c2282a0ab8
Merge pull request #113 from nextcloud-gmbh/save-activity
save Activity
2018-12-04 15:48:32 +01:00
Julius Härtl 3a08bf0c00
Merge pull request #120 from nextcloud-gmbh/details-on-followers
Details also when displaying followers of an account
2018-12-04 15:45:03 +01:00
Julius Härtl 236caae524
Merge pull request #122 from nextcloud-gmbh/more-404
returns 404 on non existant user/avatar
2018-12-04 15:39:09 +01:00
Maxence Lange 03fbf37252 404 Response on local api
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-04 13:15:30 -01:00
Maxence Lange c240faab18 timeout is defined depends on when the request is done
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-04 09:58:00 -01:00
Maxence Lange df240a8bc7 request with string id are now case insensitive
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-04 09:36:52 -01:00
Maxence Lange 69ed8f984b silent on missing signature (a remote account is deleted
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-04 09:13:49 -01:00
Maxence Lange 25550d5d4e returns 404 on non existant user/avatar
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-04 09:02:13 -01:00
Maxence Lange 0ce9d6fa6c Details also when displaying followers of an account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-04 07:27:56 -01:00
Maxence Lange 4c82ab8612 validate entries
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 21:43:47 -01:00
Maxence Lange 9457e563e3 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 21:07:34 -01:00
Maxence Lange 22a1e00a2a spliting ACore (ActivityPub Core methods) -> Item (model)
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 21:07:26 -01:00
Maxence Lange 55600ee628 save Activity
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 20:03:22 -01:00
Julius Härtl a08cd46123
Merge pull request #99 from nextcloud-gmbh/bugfix/noid/profile-info-view
Show list of followers/following on user profile
2018-12-03 13:37:10 +01:00
Julius Härtl e4529162db
Merge pull request #101 from nextcloud-gmbh/setupcheck
Setup check
2018-12-03 13:36:16 +01:00
Julius Härtl 0f69a61a09
Check for configured base URL as well
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-03 12:41:22 +01:00
Maxence Lange e315a720a0 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 10:33:04 -01:00
Maxence Lange f0c9af7e23 validate instead of direct get
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 10:32:51 -01:00
Julius Härtl 18ac6411f7
Add local flag to actor cache join
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-03 11:41:04 +01:00
Julius Härtl 6f33b8372c
Cache avatars in the browser
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-03 11:41:04 +01:00
Maxence Lange d16b1770fe
Merge pull request #102 from nextcloud-gmbh/check-origin
check origin on external request
2018-12-03 09:35:22 -01:00
Maxence Lange 0d03ef5ced origin is based on actorId
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 09:34:17 -01:00
Maxence Lange b5e1a8ea0d checking origin
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 09:09:19 -01:00
Julius Härtl bb100ea879
Add setup check for .well-known urls
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-03 11:08:15 +01:00
Jonas Sulzer a89dc2819e
add check for .well-known/webfinger
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2018-12-03 11:07:22 +01:00
Maxence Lange a6f7faacbc set viewer and assign details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 08:42:36 -01:00
Maxence Lange 7f33e8d187 fixing the array of details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 07:39:10 -01:00
Julius Härtl 56fdde1b8b
Return defaults for details
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-03 08:09:56 +01:00
Maxence Lange 7f747a0655
returns details about the followed, not the follower.
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 07:15:16 +01:00
Maxence Lange b5abb5d09c
fixing details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 07:15:16 +01:00
Maxence Lange bf45757997
routes and methods
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 07:15:15 +01:00
Maxence Lange fdfb917066
fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 07:15:15 +01:00
Maxence Lange 454237b5a8
add type to Note
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 07:14:47 +01:00
Maxence Lange f9f2b07d7e
Followers/Following
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-03 07:14:39 +01:00
Maxence Lange c0cd42c6e3 fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-02 10:10:16 -01:00
Maxence Lange c27f697f0a cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 10:21:11 -01:00
Maxence Lange 75447af767 Merge remote-tracking branch 'origin/more-for-local-accounts' into more-for-local-accounts
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 10:02:25 -01:00
Maxence Lange 8b9ca910ba fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 09:59:16 -01:00
Maxence Lange ccf7433235 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 09:57:49 -01:00
Maxence Lange 7d8e2b1065 setViewerId() to specify a PoV
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 09:57:35 -01:00
Maxence Lange 378a43d23e left join follow in search
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 09:56:54 -01:00
Maxence Lange 8a2fd1842b type in database for Follow
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 09:54:48 -01:00
Maxence Lange 011074646a
info about links between viewer/account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:13 +01:00
Maxence Lange 06ad4230eb
count followers/following/posts on cache update
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:13 +01:00
Maxence Lange 2a7d07cdaa
fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:13 +01:00
Maxence Lange 7ea1ef3c01
generate details on account info
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:12 +01:00
Maxence Lange 1c5ce8c269
fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:12 +01:00
Maxence Lange 56d87e9bdb
do not import Local
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:12 +01:00
Maxence Lange 54ce1b496a
details on Person
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:12 +01:00
Maxence Lange 93b7973cbd
almost looking for missing remote actors in cache
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-30 11:06:12 +01:00
Julius Härtl 6babe6385e
Merge pull request #76 from nextcloud-gmbh/frontend/search-design
Improve user search design
2018-11-29 21:53:41 +01:00
Maxence Lange 39ce6745e1 info about links between viewer/account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 17:52:09 -01:00
Maxence Lange ead09b1085 count followers/following/posts on cache update
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 17:28:37 -01:00
Maxence Lange 58d4e075dd fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 16:48:20 -01:00
Maxence Lange c005273e1f generate details on account info
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 16:41:55 -01:00
Maxence Lange aaafa82b4b fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 16:41:12 -01:00
Maxence Lange e7f5119e90 do not import Local
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 16:40:29 -01:00
Maxence Lange f2a97772e7 details on Person
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 16:39:55 -01:00
Maxence Lange 1bc3373b8f almost looking for missing remote actors in cache
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 13:31:08 -01:00
Julius Härtl f92290713a
Add proper NotFoundResponse if no avatar is available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-29 14:24:00 +01:00
Julius Härtl 61b727d52e
Allow loading avatars from remote
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-29 13:59:51 +01:00
Julius Härtl 53b5cc29e7
Use avatar endpoint if no actor_info is available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-29 13:57:21 +01:00
Maxence Lange 5627236d32
Revert "revert to CS"
This reverts commit c4fc3f0183897ecf26b1e8a9e4a18beb14a354d5.

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 13:57:21 +01:00
Maxence Lange 3d5ce46559
revert to CS
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 13:57:21 +01:00
Maxence Lange aa52cd8ee2
fixing exception+database
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 13:57:21 +01:00
Maxence Lange 4a0956b5ac
not sensitive case during getFromId
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-29 13:57:21 +01:00
Julius Härtl 2ec04d611e
Add unified avatar endpoint to quickly fetch avatars
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-29 13:57:20 +01:00
Julius Härtl 01d4f83ccb
Fix handover of the final address to the frontend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-29 10:04:15 +01:00
Jonas Sulzer 59a9a66914
autoconfigure CloudAddress
automatically do setCloudAddress() if overwrite.cli.url is set

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2018-11-29 10:04:15 +01:00
Maxence Lange f47ce64200
Merge branch 'master' into fix/security/filter-mimetype 2018-11-28 20:32:23 -01:00
Maxence Lange 5947535544 CACHE_TTL -> CACHING_TIMEOUT
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 20:30:45 -01:00
Maxence Lange 8102d81f91 Revert "CACHE_TTL -> CACHING_TIMEOUT"
This reverts commit fbaa3dd2cd.

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 20:29:28 -01:00
Maxence Lange ca247218b5
Merge pull request #70 from nextcloud-gmbh/features/cli/cacherefresh
retry-on-fail
2018-11-28 20:26:31 -01:00
Julius Härtl d69471957b
Link accounts inside of posts
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-28 21:24:33 +01:00
Maxence Lange 8b9217292d to avoid conflict, filters failing instance when processing queue
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 19:21:28 -01:00
Maxence Lange 9a042eea45 retry-on-fail by cron and cli
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 17:18:37 -01:00
Maxence Lange fbaa3dd2cd CACHE_TTL -> CACHING_TIMEOUT
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 14:52:31 -01:00
Maxence Lange 13d49b6ebe exception handling
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 14:39:25 -01:00
Maxence Lange 676ec5acce cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 14:27:38 -01:00
Maxence Lange 005a8c57d0 410 and gone signature/account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 14:26:28 -01:00
Maxence Lange e8b80e8502 exception on 410
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 14:21:56 -01:00
Maxence Lange a3a2ac6dcc error must be 0
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 14:17:23 -01:00
Maxence Lange 4c5450bd86 managing errors and exceptions
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 11:10:02 -01:00
Maxence Lange 1643206f5c retry for content after 5 minutes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 11:08:39 -01:00
Maxence Lange 8b068521c8 return token on post creation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 10:15:25 -01:00
Maxence Lange b27e31ad5d user agent in requests
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 10:08:07 -01:00
Maxence Lange 8382f1a9c3 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 10:05:30 -01:00
Maxence Lange 63a1107178 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 09:40:20 -01:00
Maxence Lange b36e56cee9 displays post with current user as author
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 09:39:31 -01:00
Maxence Lange 15358d0e47 cache actors
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-28 09:16:20 -01:00
Maxence Lange b06f3ffff1 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 22:36:01 -01:00
Maxence Lange 3efe4a60cd direct stream will now display user's own post
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 18:48:30 -01:00
Maxence Lange b2a045cb69 queue and async
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 15:59:19 -01:00
Maxence Lange 6210a6ec96 add priority to instances
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 15:58:08 -01:00
Maxence Lange bb06cc1063 add Type to cached actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 15:55:24 -01:00
Maxence Lange bd1e0ee244 renaming/cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 15:54:08 -01:00
Maxence Lange a7451538d8 cache on-the-fly
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 15:13:37 -01:00
Maxence Lange 1999f06ada fix sql 2
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 14:13:10 -01:00
Maxence Lange 4354edbdb4 sql fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-27 13:19:38 -01:00
Maxence Lange 5196852cca managing Cache from Cron and Command line
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-26 11:33:48 -01:00
Maxence Lange 22c6cde699 error on too big document
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-25 11:50:12 -01:00
Maxence Lange ffd70a71a6 fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-24 13:15:33 -01:00
Maxence Lange a031d9f294 Caching
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-24 13:15:26 -01:00
Maxence Lange 7aeca5c395 new routes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-24 13:14:30 -01:00
Maxence Lange 6c64bbca5d setPublic
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-24 13:08:19 -01:00
Maxence Lange b88ff13bc4 new routes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-23 20:07:32 -01:00
Maxence Lange 9c45b76b78 cleaning/renaming
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-23 19:53:01 -01:00
Maxence Lange 031b76b942 adding Icon to Person
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-23 19:52:14 -01:00
Maxence Lange 28d360083a Document, Image and Caching
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-23 19:41:46 -01:00
Maxence Lange 7b65c3b0f4 cleaning/renaming
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-23 19:36:35 -01:00
Julius Härtl 69201a9ce2
Load streams with pagination
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-22 18:57:18 +01:00
Julius Härtl f3a36449e0
Make public pages use the proper navigation endpoint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-22 16:14:05 +01:00
Maxence Lange dd1a52a2a3 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 13:51:34 -01:00
Maxence Lange 4417c6c16f cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 11:42:48 -01:00
Maxence Lange c4e78552fe more fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 11:37:19 -01:00
Maxence Lange dc009d828f double-quotes on follow_id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 11:28:52 -01:00
Maxence Lange 783c736870 fixing requests
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 11:21:47 -01:00
Maxence Lange ab9d9fdd37 improvement on the Db
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 10:46:29 -01:00
Maxence Lange 6a06fd22b1 new routes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 10:46:11 -01:00
Maxence Lange ffde0920cf fixing stuff
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-22 03:38:29 -01:00
Maxence Lange 21d7cbf613
Merge pull request #48 from nextcloud-gmbh/broadcast-and-remote-delete
followers and remote delete
2018-11-21 21:00:17 -01:00
Maxence Lange 1875e7fe88 fixing some stuff
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-21 20:58:56 -01:00
Maxence Lange 16d42a9e53 InstancePath and Delete
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-21 18:22:46 -01:00
Maxence Lange b48d962164 changin following
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-21 18:22:09 -01:00
Julius Härtl 61d0ce3d46
Add exact matches to the search
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-21 15:23:41 +01:00
Julius Härtl e99b48b4a6
Fix loading the proper template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-21 14:48:07 +01:00
Julius Härtl 817bced61f
Merge pull request #39 from nextcloud-gmbh/feature/noid/setup
Implement social app setup
2018-11-21 12:03:32 +01:00
Maxence Lange fb1b1b9e98 fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-20 21:40:10 -01:00
Maxence Lange be907600c7 new exceptions
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-20 21:38:55 -01:00
Maxence Lange a05dfc5879 local in ACore
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-20 21:38:36 -01:00
Maxence Lange 75826b04eb local in ACore
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-20 21:37:34 -01:00
Maxence Lange b217d0b0a6 fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-20 11:52:33 -01:00
Maxence Lange c52e214614 Delete object
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-20 11:52:24 -01:00
Maxence Lange 62f713f434 managing notes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-20 11:47:14 -01:00
Julius Härtl ab1c26f69c
Implement social app setup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-19 21:54:26 +01:00
Maxence Lange 6eb6561737 source verification
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-19 11:24:53 -01:00
Maxence Lange 31b729f5d4 fixing verification on source
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-19 11:10:24 -01:00
Maxence Lange de9559ab87 cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-19 09:35:18 -01:00
Maxence Lange fd5ee21522 following
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-19 09:35:10 -01:00
Maxence Lange 94d653640c moving thing around
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-19 09:34:54 -01:00
Maxence Lange 3cec05e7f8 moving thing around
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-19 09:33:34 -01:00
Maxence Lange 9f388e59cf accepted field in db
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-19 09:32:52 -01:00
Maxence Lange ee7e735722 saving follows in database
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-16 10:48:31 -01:00
Maxence Lange 31867cfbb7 fixing timestamp
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-16 10:00:39 -01:00
Maxence Lange 26dad9973e converting published time
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-16 09:47:59 -01:00
Maxence Lange 86e0853ff5 source in other objects
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-15 15:26:18 -01:00
Maxence Lange d31dcf4e87 storing Actor source
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-11-15 14:26:56 -01:00
Maxence Lange dbdca46f38
Update Person.php 2018-11-15 12:07:52 -01:00