Commit graph

431 commits

Author SHA1 Message Date
59f8cb16e5 Add item content before the transaction 2018-06-29 11:10:36 +00:00
a82cf2ae29 Delete item content for older item records 2018-06-29 06:51:48 +00:00
6b31e72905 Fix for: empty posts and comments that hadn't been transmitted to Diaspora 2018-06-29 06:20:04 +00:00
b705a91ccd Standards and some more replace item calls 2018-06-28 03:31:10 +00:00
51a58ec2e2 Fix for fetching false fer... (sorry) verbs 2018-06-27 20:25:24 +00:00
028c9f4da5 We now store the verb in the item-content as well 2018-06-27 19:37:13 +00:00
76dab3b2d7 Use gravity instead of verb 2018-06-27 18:09:33 +00:00
f74a54b9bf Standard stuff 2018-06-26 03:58:12 +00:00
7aa880543f Fix shadow posts 2018-06-25 20:38:32 +00:00
89f0eec261 Use a constant fieldlist 2018-06-25 18:49:36 +00:00
c07b81c5b9 Added workarounds to fetch the complete item content 2018-06-25 16:11:27 +00:00
5f3f349006 "author-link" and "owner-link" aren't stored anymore in the item table 2018-06-25 06:45:05 +00:00
6dbbeaf8f6 Remove unneeded code 2018-06-25 06:33:12 +00:00
89fb28ae9b Content is now stored exclusively in item-content, connected via "icid" field 2018-06-25 04:56:32 +00:00
941bab1096 We now only store the content in item-content 2018-06-24 23:09:13 +00:00
58d61810ea We now store item content centrally 2018-06-24 21:41:49 +00:00
b03db4643f The fetch function now centrally controls the content 2018-06-24 10:48:29 +00:00
a7d2f126eb Fixes Issue 5276 and an endless loop in item::update 2018-06-23 10:32:53 +00:00
rabuzarus
92a84275d4 fix hovercard for not logged in users 2018-06-21 22:46:10 +02:00
Hypolite Petovan
8a3cae686b
Merge pull request #5261 from annando/and-again-abstraction
And again the item abstraction - and a fix for issue 5252
2018-06-21 11:50:31 -04:00
d643e00d33 Standards and a new function to fetch content 2018-06-21 15:14:01 +00:00
Hypolite Petovan
e84c48b979
Merge pull request #5259 from rabuzarus/20180616_-_magic_auth_test_2
port hubzillas OpenWebAuth - don't initiate magic auth if the contact is allready authentificated
2018-06-20 20:15:14 -04:00
rabuzarus
02d96623f2 port hubzillas OpenWebAuth - don't initiate magic auth if the contact is allready authentificated 2018-06-21 02:08:54 +02:00
Hypolite Petovan
a5550b4702
Merge pull request #5253 from rabuzarus/20180616_-_magic_auth_test_2
Port hubzillas OpenWebAuth - remote authentification
2018-06-20 17:46:04 -04:00
rabuzarus
9f493357f4 port hubzillas OpenWebAuth - fix wrong table name + fix wrong method name 2018-06-20 20:11:26 +02:00
rabuzarus
149142b4bc port hubzillas OpenWebAuth - rename Verify class to OpenWebAuthToken 2018-06-20 19:24:02 +02:00
rabuzarus
d5afbd3357 port hubzillas OpenWebAuth - rename verify table to openwebauth-token 2018-06-20 19:18:41 +02:00
rabuzarus
f0235c4a98 port hubzillas OpenWebAuth - rename some methods and classes 2018-06-20 18:38:23 +02:00
c540154f8e "shadow" does not exist 2018-06-19 21:41:38 +00:00
962fbc9166 Many "fetch_first" had been replaced 2018-06-19 21:33:07 +00:00
139d35438d Fix: network had been empty 2018-06-19 21:32:42 +00:00
rabuzarus
b65e4b278b port hubzillas OpenWebAuth - use Contact::getIdForURL to query for contact entry 2018-06-19 16:15:28 +02:00
rabuzarus
9195ea26b1 port hubzillas OpenWebAuth - add some notes to the doxygen to refer to hubzilla's source code 2018-06-19 13:30:55 +02:00
ebd76285d8 New item functions, improved feed cache behaviour 2018-06-19 05:39:56 +00:00
rabuzarus
1c7f4e3c63 port hubzillas OpenWebAuth - remote authentification 2018-06-18 23:05:44 +02:00
4714cb746b Use the item functions at many more places 2018-06-18 20:36:34 +00:00
507956818d Use the item classes where possible 2018-06-18 05:19:28 +00:00
23aa9dffa0 New item functions are now used in the delivery process as well 2018-06-17 21:35:33 +00:00
e42b934807 Item field list structure is unified 2018-06-17 17:14:52 +00:00
6e10de9284 New function to fetch item data especially for users 2018-06-17 17:05:17 +00:00
0280a46ab4 Use predefined field lists 2018-06-17 06:27:52 +00:00
1aec8f620d More item abstractions for DFRN and Diaspora 2018-06-16 22:32:57 +00:00
Hypolite Petovan
7d1bb9ecf4
Merge pull request #5230 from annando/new-item-uri
New function for generating item URI
2018-06-16 10:54:56 -04:00
Hypolite Petovan
133cd342d4
Merge pull request #5226 from annando/even-more-abstraction
More item calls have been replaced with the new functions
2018-06-16 07:57:00 -04:00
14cb128264 New function for generating item URI 2018-06-16 06:44:19 +00:00
Hypolite Petovan
c651641856 Fix PHP 7.2 Warning in Model\Contact 2018-06-15 20:50:31 -04:00
bb79b8f4ac More item calls have been replaced with the new functions 2018-06-15 22:30:49 +00:00
02fef0bcf5 Reworked notifications ("alt pager" added) / use of Item class to fetch data 2018-06-15 05:50:28 +00:00
4d4cce4867 The new function is now used here as well. 2018-06-10 10:14:53 +00:00
446a45003d Added documentation, some indention fixes 2018-06-09 19:12:13 +00:00
baf316e898 The central item fetch does work now and the API now uses these functions 2018-06-09 16:56:37 +00:00
4874e589f1 New class function to fetch items 2018-06-07 06:03:12 +00:00
b654af28fa We need "global" 2018-06-03 09:40:32 +00:00
d7c477d0f4 Don't probe anymore, but ensure that we got good contact data 2018-06-03 08:36:05 +00:00
3f07d01dd1 Get rid of unneeded or redundant fields 2018-06-03 07:42:56 +00:00
c6c94b8cea Weird stuff 2018-06-02 13:00:47 +00:00
81c002370e Only redirections to the same host do make sense 2018-06-02 08:42:46 +00:00
723b5ae803 Use MagicLinkbyId when possible 2018-06-02 08:28:01 +00:00
8a34895a23 Use magicLink whenever possible 2018-06-02 08:05:06 +00:00
b5b172500d Merge remote-tracking branch 'upstream/develop' into public-redir 2018-06-01 12:32:51 +00:00
Hypolite Petovan
93daf7883e Merge branch 'master' into develop
- Updated new develop version label
- Incremented database build number
2018-06-01 07:30:04 -04:00
ae8d7267a0 "redir" is now centralized and works with the public contact 2018-06-01 06:46:34 +00:00
9ea6d4b26d the detected language was not stored during user creation 2018-05-31 08:27:27 +02:00
8329705eba New function to delete items for users 2018-05-29 05:22:57 +00:00
708ddf2b02 Preparation for new deletion functionality 2018-05-26 20:23:49 +00:00
a6396dde55 Removed useless line 2018-05-26 20:08:42 +00:00
a50805c371 Grammar fix 2018-05-26 20:07:30 +00:00
bdbc51229a Fix for not being able to delete items 2018-05-26 18:07:27 +00:00
4a67919be7 Issue 5010: Don't show removed users 2018-05-24 04:44:02 +00:00
3fe07cca57 Issue 2880: Editing post doesn't destroy mentions or hashtags anymore 2018-05-19 14:55:27 +00:00
e9848d7b8f End subscription for unreachable subscribers 2018-05-19 03:56:29 +00:00
8983c61023 Fix: Sometimes the contact endpoints seem to be wrong 2018-05-18 12:26:10 +00:00
4355014492 Now it should work ... 2018-05-17 23:47:15 +00:00
f4a71b76dd Dynamic priority handling 2018-05-17 23:43:44 +00:00
61824119e4 Moved functionality in new model class 2018-05-17 23:30:49 +00:00
ac67f3c154
Merge pull request #5071 from annando/fix-duplicated-posts
Bugfix: Only send a notifier when the item was really edited
2018-05-17 07:59:56 +02:00
b333c7ae2e Bugfix: Only send a notifier when the item was really edited 2018-05-17 05:49:55 +00:00
6129eb1623
OpenId possibly fixed:
- The LightOpenId class' constructor now requires the hostname from where the
  requested started, added it now
- sometimes need to invoke get_app() as $a was not around

Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-17 00:24:25 +02:00
84248ac4c1 Grammar stuff 2018-05-16 03:54:08 +00:00
fe8a4d50c8 Merge branch 'item-delete' of github.com:annando/friendica into item-delete 2018-05-15 19:31:05 +00:00
4a1bbd114c Lower priority for "remote self" 2018-05-15 19:29:14 +00:00
82937189ba Only delete undeleted items 2018-05-15 19:25:35 +00:00
fc60e23314 Added comments / hourly workerqueue deletion 2018-05-15 17:50:29 +00:00
3e475f3b82 Delete the shadow post when it is the last one 2018-05-15 16:40:13 +00:00
4a7bf95926 Fix: Delete all item copies if it is an original item 2018-05-15 15:51:58 +00:00
ba4f9b6136
Merge pull request #5054 from annando/diaspora-comments
Fix: public comments weren't distributed to the followers.
2018-05-15 07:30:34 +02:00
8564eeec4e Fix: public comments weren't distributed to the followers. 2018-05-15 04:33:28 +00:00
e409001dfb
Fixed "constant" result, maybe there is a $ missing?
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-15 03:26:20 +02:00
57e668d9e0
Continued:
- avoided else() block which reduces code complexibility
- used more x()
- added curly braces
- added known type-hints

Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:50:05 +02:00
f9c695e78d Fix SQL error during postupdate 2018-05-11 09:20:59 +00:00
3d2bc7700e Fix SQL error 2018-05-10 20:14:51 +00:00
3eb0b795fc Bugfix: Avoid empty avatar photos when a public contact is created 2018-05-09 06:53:57 +00:00
08bf19082c Ensure that there will always be an author-id and owner-id in the items 2018-05-08 20:20:15 +00:00
6c35f8ebf3 Update script for setting author-id and owner-id in item and thread table 2018-05-08 17:50:06 +00:00
7d6b1264ec Fix for issue 4994: Feed items now appear again 2018-05-08 06:11:46 +00:00
1230ff146a "remote-self" is now working for Diaspora and Twitter as well 2018-05-04 21:12:13 +00:00
4ad655ab80 Replace old database queries with the new ones 2018-05-02 19:26:15 +00:00
Michael Vogel
bd0ba24518
Merge pull request #4951 from MrPetovan/bug/4946-move-current-theme-to-app
Move current_theme() to App
2018-04-29 19:11:49 +02:00
Hypolite Petovan
fde3d6f870 Replace current_theme() and current_theme_url() calls 2018-04-28 18:37:25 -04:00
Hypolite Petovan
bd21fc3751 Import posts from ignored contacts 2018-04-27 21:08:19 -04:00