Hypolite Petovan
0ec44f3e8a
Rename DBM method calls to DBA method calls
2018-07-23 11:02:24 -04:00
Michael Vogel
53876abfda
And some more removed notices in the core ( #5465 )
2018-07-23 07:43:18 -04:00
Hypolite Petovan
bb99ac8111
Fix Fatal error in Protocol\Diaspora ( #5460 )
2018-07-22 19:22:41 -04:00
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 08:19:26 -04:00
Michael
9a6a3bf1c1
Makes Diaspora working again
2018-07-20 05:10:16 +00:00
Hypolite Petovan
daa1177e3a
Update use statement lists with new Friendica\Database\dba class
...
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
2018-07-19 22:15:21 -04:00
Michael Vogel
5af9596dde
New item field "Post-type" and new table "permissionset" ( #5408 )
...
* "post-type" replaces "bookmark" and "type"
* Removed some more type
* Added index to permission set
* The permission set is now stored
* The permission set is now removed upon expiry
* Post update now stores the permission set
* New file
* Permissions are now sorted
* Changed documentation
2018-07-19 09:52:05 -04:00
Roland Häder
b05b96d04a
Fixes: ( #5404 )
...
- fixed E_NOTICE in mod/follow.php
- fixed 2 E_NOTICE in src/Protocol/Diaspora.php
- added more type-hints for `array` type where known
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-07-19 07:07:14 -04:00
Michael Vogel
d3a2ed85fe
Next item structure works ( #5380 )
...
* Use "LEFT JOIN" to always fetch the item. Needed for update routines.
* New conversion routine that now covers every item
* Post update is now activated
* We now use a hash based upon RIPEMD-320 for content and activity
* The hash doesn't contain the plink anymore
* Legacy item fields are now "null"able
* New hash function for a server unique item hash
* Introduction of the legacy mode (usage of old item fields)
* Code simplification
* We don't need the "uri" fields anymore in item-activity and item-content
* Use the "created" and not the "received" date for the hash
* Avoiding several notices
* Some more warnings removed
* Improved uri-hash / Likes on Diaspora are now getting a creation date
* Corrected the post update version
* Ensure an unique uri-hash
* Don't delete orhaned item data at the moment
* Partly reworked, due to strange behaviour
* Some more parts reworked
* Using the uri currently seems to be more reliable
* Using the uri here as well
* Use the hash values again
* Grouped item fields in different categories
* Notices again
* use the gravity (we always should)
* Added hint for disabled post updates
* Notices ...
* Issue #5337 : Personal notes are displayed again
* Use the gravity again
2018-07-15 14:36:20 -04:00
Michael Vogel
0360f7197a
Several more warnings ... ( #5340 )
...
* Some more warnings removed
* Even more warnings ...
* Will it ever end? ;-)
* Avoid warning in dbstructure
* Origin and OStatus ...
* There are more warnings solved ... yeah!
* And again ...
* We are not done yet
* And more ...
* And some new places ...
* And more in the feeds
* Avoid some more
* And some backend stuff
* Notifications cleared
* Some more stuff
* and again ...
* It's getting fewer ...
* Some warnings had been hidden in the notifications
* Fix the fix
* And another missing one ...
* We need the owner here, not the user
* Forgotten user
* And more ...
* And some more warnings disappeared ...
* Some more frontend warnings
* Some backend warnings removed
* Fixed sidebar for "vier"
* And more ...
* Some more ...
* And something for "remote self"
* Am I stuck in an endless loop?
* Fix: Clear tag and file field on update
* Preset page content
2018-07-10 08:27:56 -04:00
Philipp Holzer
c829e43725
moved get_guid to System::createGUID
2018-07-09 21:38:16 +02:00
Michael
3e797547a3
Warnings fixed
2018-07-08 09:37:05 +00:00
Michael
4d35e228c4
More item abstraction / making remote deletion work again
2018-07-07 18:14:16 +00:00
Michael
d6af9515ba
Avoid storing an icid value when iaid is stored/Fix item retraction
2018-07-07 16:38:01 +00:00
Michael
32d398cc93
Unified content that is stored for a like
2018-07-06 05:39:25 +00:00
Michael
38160a48b0
Post update script to move old content from the item table
2018-07-01 19:02:29 +00:00
Michael
76dab3b2d7
Use gravity instead of verb
2018-06-27 18:09:33 +00:00
Michael
d643e00d33
Standards and a new function to fetch content
2018-06-21 15:14:01 +00:00
Michael
6e10de9284
New function to fetch item data especially for users
2018-06-17 17:05:17 +00:00
Michael
1aec8f620d
More item abstractions for DFRN and Diaspora
2018-06-16 22:32:57 +00:00
Michael
14cb128264
New function for generating item URI
2018-06-16 06:44:19 +00:00
Michael
c86111d193
Coding standards
2018-05-29 19:00:26 +00:00
Michael
8329705eba
New function to delete items for users
2018-05-29 05:22:57 +00:00
Michael
c70ebadd7d
Issue-3412 related: Don't send connection posts anymore
2018-05-19 19:34:51 +00:00
Michael
e77cd17495
We do the notify stuff now directly in the item class
2018-05-15 19:50:29 +00:00
Michael
8564eeec4e
Fix: public comments weren't distributed to the followers.
2018-05-15 04:33:28 +00:00
Michael
57bd073ffd
We mustn't reshare a feed item (only DFRN and Diaspora)
2018-05-13 18:31:01 +00:00
Michael
926c9719e0
Avoid SQL error with empty "bd" field
2018-05-11 15:27:19 +00:00
Michael
6d4f3e8ee2
Issue 4997: Avoid database duplicates
2018-05-10 12:49:28 +00:00
Michael
6dbf0de9f2
Removed activities that aren't in the Diaspora protocol
2018-05-04 06:34:02 +00:00
Michael
53b7028d35
Reshares had been detected falsely so that were rejected by Diaspora
2018-05-03 13:03:41 +00:00
Michael
4ad655ab80
Replace old database queries with the new ones
2018-05-02 19:26:15 +00:00
Michael
1e0200884f
Fixed private messaging/relaying is controlled by the parent
2018-05-01 06:37:12 +00:00
Michael
d0dd5c44d9
Update or create relay contact from discovery / process new protocol values
2018-04-30 05:33:47 +00:00
Hypolite Petovan
bd21fc3751
Import posts from ignored contacts
2018-04-27 21:08:19 -04:00
Michael
6879be5168
Possibly not so important change ;-)
2018-04-27 14:21:12 +00:00
Michael
98415e0e34
Diaspora reshares should now always reshare the correct content
2018-04-27 14:03:10 +00:00
Michael
4957ab8fbb
Avoid PHP warning with a missing key
2018-04-26 20:41:06 +00:00
Michael
ad45a73bf3
Improvements for the Diaspora protocol
2018-04-24 18:34:35 +00:00
Michael
5cf745af44
Item distribution is now done via the public post
2018-04-24 13:21:25 +00:00
Michael
fd7658a70a
Contact requests from Diaspora for private forums aren't accepted automatically anymore
2018-04-21 10:39:46 +00:00
Michael
c507cdf946
Code simplified
2018-04-19 06:07:23 +00:00
Michael
f99af007ae
Replaced queries
2018-04-18 04:59:33 +00:00
Michael
88353ce56f
Merge remote-tracking branch 'upstream/develop' into dfrn-reshare
2018-04-18 03:12:13 +00:00
Michael
6eba2ccd9b
Forum posts now show the author when posted to Diaspora
2018-04-15 19:01:19 +00:00
Michael
edcf1466a7
Relay: Avoid sending relay posts to servers that already received content
2018-04-11 19:01:25 +00:00
Michael
869d8ab12d
We can now define the days after a contact is archived
2018-04-10 11:10:02 +00:00
Michael
105f3ca747
Relay: Avoid empty tags / Always use the "relay account"
2018-04-09 05:53:23 +00:00
Michael
a75858f02c
Don't queue relay posts
2018-04-08 09:46:47 +00:00
Michael
c16ae0bacb
Fix: Commenting on public posts from Friendica users is now possible again
2018-04-04 06:06:38 +00:00
Michael
1a2c771f24
DFRN: Improvements to delivery. Logging and marking as not reachable
2018-04-03 12:18:05 +00:00
Michael
0594f13c35
Receiving was tested, sending is implemented and tested as well, currently unused
2018-04-02 12:53:48 +00:00
Michael
bfd057f148
Direct transfer without a relay is now possible
2018-03-28 04:24:38 +00:00
Michael
bc03c8846c
Fix sending messages to relay servers
2018-03-26 23:39:59 +00:00
Hypolite Petovan
27d94023ee
Merge branch 'master' into develop
2018-03-23 06:15:55 -04:00
Michael
f4ba5d9799
Fix: Events on Diaspora now should look fine
2018-03-20 06:32:17 +00:00
Michael
ec9b7af25b
Fix: Private transmission via Diaspora to Friendica servers
2018-03-16 20:34:28 +00:00
Michael
3e51fa73b1
Additional checks
2018-03-09 05:38:15 +00:00
Michael
c9095386c8
Diaspora: Avoid warning "supplied key param cannot be coerced into a public key"
2018-03-09 05:31:13 +00:00
Michael
f23596421d
Avoid SQL errors due to duplicate entries in the "participation" table
2018-03-08 21:04:11 +00:00
Michael
713bdb4bd9
Improved reshare behaviour for DFRN posts
2018-03-08 19:47:18 +00:00
Hypolite Petovan
bb7f459b47
Remove references to include/bb2diaspora.php
2018-03-04 17:43:41 -05:00
Hypolite Petovan
26ea6f69d7
Update references to bb2diaspora and diaspora2bb
2018-03-04 17:39:41 -05:00
Michael
a74b5fdde8
When refreshing the fcontact, the returned array was incomplete
2018-02-22 09:59:21 +00:00
Michael
ae705261f1
Function is only used locally
2018-02-21 05:21:55 +00:00
Michael
a59796d1d4
No gcontact-id anymore (It wasn't really used)
2018-02-21 05:15:55 +00:00
Hypolite Petovan
0c52866693
Refactor bbcode() into BBCode::convert()
2018-02-14 21:33:55 -05:00
Michael
43b1eccbcd
Bugfix and improvements for unmarking potentially archived contacts
2018-02-14 21:18:16 +00:00
Hypolite Petovan
cdc8a3b68d
Merge pull request #4457 from annando/accept-archived
...
Diaspora: Accept posts from archived contacts
2018-02-14 09:46:24 -05:00
Michael
878b2be63d
Diaspora: Accept posts from archived contacts
2018-02-14 14:29:28 +00:00
Hypolite Petovan
d8e9ed5ff8
[Scrutinizer] Fix undeclared variables in src/Protocol/
...
- Use dba::selectFirst to remove intermediate variables `$r`
- Remove unused variable `$sender` in Protocol\Email
- Simplify Protocol\OStatus:fetchAuthor cascading queries
2018-02-13 23:58:46 -05:00
Michael
0093f863fd
Don't add already queued items from Diaspora to the queue again
2018-02-08 11:26:24 +00:00
Michael
e609de2957
Many item calls are now isolated in a single function
2018-02-06 12:40:22 +00:00
Adam Magness
7ffcb25321
Update function names and calls
...
update function names and calls from other files
2018-02-05 12:47:04 -05:00
Hypolite Petovan
f020292408
Remove references to include/datetime
2018-02-03 20:47:37 -05:00
Hypolite Petovan
5e7285b9ba
Move Temporal::convert() to DateTimeFormat::convert()
2018-02-03 08:56:55 -05:00
Hypolite Petovan
35d06bd9eb
Add Temporal::utc() shorthand to Temporal::convert()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
8aff8a76eb
Add Temporal::utcNow()
2018-02-03 08:56:52 -05:00
Hypolite Petovan
b854905150
Move ATOM_TIME to Temporal::ATOM
2018-02-03 08:56:52 -05:00
Hypolite Petovan
c0e2ee95c5
Add back missing use in Diaspora
2018-02-03 08:56:51 -05:00
Hypolite Petovan
dc366bf1f7
Refactor datetime_convert into Temporal::convert
...
- Changed parameter order to save space
- Refactor select_timezone into Temporal::getTimezoneSelect
- Refactor field_timezone into Temporal::getTimezoneField
2018-02-03 08:56:51 -05:00
Michael
bdbfffafea
Renamed the contact relationship functions
2018-01-28 17:26:39 +00:00
Michael
7b27dda784
Most functions now moved from include/items.php
2018-01-28 11:18:08 +00:00
Adam Magness
9b8599b619
Move functions to system
...
move some functions to system
2018-01-27 11:59:10 -05:00
Adam Magness
f04d40a37e
Review update
...
Rename function, move others
2018-01-27 11:13:41 -05:00
Adam Magness
ca76e49c23
Move remaining functions
...
update remaining function calls
2018-01-27 08:25:54 -05:00
Adam Magness
cd3643d174
Move xml_status and http_status_exit
...
move functions
2018-01-26 23:37:55 -05:00
Adam Magness
a32ba32ff4
Move post_url
...
move post_url function
2018-01-26 23:24:23 -05:00
Adam Magness
c67452f72e
Move fetch_url
...
move fetch_url function
2018-01-26 23:09:48 -05:00
Hypolite Petovan
30c1cc0e8c
Merge pull request #4312 from zeroadam/feature/L10n
...
Move pgettext to src
2018-01-24 11:48:55 -05:00
Adam Magness
208a149a7b
Review sprintf
...
remove more sprintf calls
2018-01-23 21:59:16 -05:00
Michael
3fbc873ffe
Birthdays are now transmitted reliably to Diaspora
2018-01-23 22:51:30 +00:00
Adam Magness
83f1149d04
More missing t()
...
update t() calls
2018-01-22 18:03:26 -05:00
Adam Magness
c8ecc31405
Update functions and calls
...
Update function names and calls.
2018-01-22 18:03:26 -05:00
Michael
034d46196f
"last-child" is not used anymore
2018-01-18 06:54:44 +00:00
Adam Magness
33ac7a529f
Update functions and calls
...
update function names and calls
2018-01-15 20:12:07 -05:00
Hypolite Petovan
e36f2bb1fb
Use short form array syntax everywhere
...
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Hypolite Petovan
9babf0befd
Merge pull request #4234 from annando/participation-2
...
On participation send all the old content of the thread
2018-01-14 18:57:05 -05:00
Michael
b7022963f3
On participation send all the old content of the thread
2018-01-14 22:53:00 +00:00
Hypolite Petovan
39c036e6ba
Fix implode Warning in Diaspora
2018-01-14 09:05:06 -05:00