Hypolite Petovan
2ef23300a3
Merge pull request #6179 from Alkarex/sql-distinct-fix
...
Fix SQL grammar error: ORDER BY clause is not in SELECT
2018-11-21 08:07:33 -05:00
Alexandre Alapetite
a1238d03a6
Fix SQL grammar error: ORDER BY clause is not in SELECT
...
```
2018-11-21T08:31:28Z@e3393hprfvfqnblturqp56rjnp [Info]:DBA.php:557:p
DB Error 3065: Expression #1 of ORDER BY clause is not in SELECT list,
references column 'friendica.item.created' which is not in SELECT list;
this is incompatible with DISTINCT
q, profile_content, update_profile_content,
LegacyModule::runModuleFunction, LegacyModule::content, call_user_func,
App::runFrontend
SELECT DISTINCT(`parent-uri`) AS `uri` FROM `item` INNER JOIN `contact`
ON `contact`.`id` = `item`.`contact-id` AND NOT `contact`.`blocked` AND
NOT `contact`.`pending` WHERE `item`.`uid` = 1 AND `item`.`visible` AND
(NOT `item`.`deleted` OR `item`.`gravity` = 3) AND NOT
`item`.`moderated` AND `item`.`wall` AND `item`.`unseen` ORDER BY
`item`.`created` DESC
```
2018-11-21 09:57:34 +01:00
Michael
85529ed8ff
"viewcontacts" hadn't displayed the AP contacts
2018-11-21 08:50:43 +00:00
Michael
d89e3f4264
To safe or not so save, that is the question
2018-11-19 16:36:31 +00:00
Michael
b486e48cd6
14 days
2018-11-19 10:02:44 +00:00
Michael
ad3502078f
Merge remote-tracking branch 'upstream/develop' into dbclean
2018-11-19 10:01:09 +00:00
Michael
191c1a400a
The expiry of conversations can now be configured in the admin panel
2018-11-19 06:58:46 +00:00
Michael
43079bfaf8
Several default features are now in the core
2018-11-18 20:13:46 +00:00
Jonny Tischbein
7c690c93bb
Fix setting permisson as post for uploaded photo in album via modal create post
2018-11-17 19:14:59 +01:00
Hypolite Petovan
22fedc9a1a
Merge pull request #6152 from JonnyTischbein/issue_delete_from_saved_folder
...
Fix deleting last element and displaying empty saved folder
2018-11-17 11:59:24 -05:00
Jonny Tischbein
590fbe8c6f
More Code Standard
2018-11-17 17:27:12 +01:00
Jonny Tischbein
4f8e50d834
Code Standard
2018-11-17 17:24:30 +01:00
fabrixxm
1e9e06a325
Use appropriate redirect in dfrn_poll
...
Got an error while remote auth to a local user, where $destination_url
is relative.
2018-11-17 16:12:45 +01:00
Jonny Tischbein
56406b9910
Fix SQL Error if no items where found + Fix setting to null
2018-11-17 13:22:32 +01:00
Jonny Tischbein
52eb2281e4
Fix deleting last element from saved folder + Fix displaying empty saved folder
2018-11-17 12:41:00 +01:00
Alexandre Alapetite
b190c2e9c7
Title difference for two different ATOM feeds
...
Fix for
https://github.com/friendica/friendica/issues/6128#issuecomment-439016471
2018-11-17 00:05:13 +01:00
Alexandre Alapetite
51f0d52100
WebSub fixes
...
More fixes related to https://github.com/friendica/friendica/issues/6128
* Bug when using direct ATOM URL, which ends with .atom after nick name
* Bug when callback URL already has some ?query=parameters (which is
quite usual)
Slight refactoring
2018-11-15 12:54:04 +01:00
Tobias Diekershoff
b0d8a2fcd0
Merge pull request #6127 from annando/notice
...
Avoid "Cannot modify header information - headers already sent"
2018-11-14 10:20:47 +01:00
Hypolite Petovan
6996a172e8
Merge pull request #6130 from annando/develop
...
Issue 6128: Websub could work now
2018-11-13 18:46:17 -05:00
Michael
a5ddaa9dbc
Issue 6128: Websub could work now
2018-11-13 22:23:16 +00:00
Hypolite Petovan
d697dbd794
Convert remaining instances of "contacts" in mod/follow
2018-11-13 16:02:33 -05:00
Hypolite Petovan
537164fd02
Convert remaining instances of "contacts" in mod/unfollow
2018-11-13 16:01:01 -05:00
Michael
83ae873646
Avoid "Cannot modify header information - headers already sent"
2018-11-13 20:20:54 +00:00
Tobias Diekershoff
320c986e05
Merge pull request #6121 from annando/hide
...
Don't suggest hidden contacts / Added AP to the suggestions
2018-11-13 09:39:58 +01:00
Michael
edc6ba976d
Output all technical fields - even for hidden contacts
2018-11-13 07:09:14 +00:00
Michael
b5fa518998
Don't suggest hidden contacts / Added AP to the suggestions
2018-11-13 05:52:21 +00:00
Michael
cc0904eb77
Issue 6032: Avoid fatal error
2018-11-12 19:10:40 +00:00
Michael
de0ddfa0d8
Fix wromg server detecting / improved Pleroma version numbers
2018-11-11 21:54:50 +00:00
Steffen K9
de759e41c5
Missing use for Strings
...
In line 72 'Strings::' is used but the 'use Friendica\Util\Strings' was missing.
2018-11-11 01:14:50 +01:00
Hypolite Petovan
7242b706f0
Improve return path in mod/follow
2018-11-10 08:24:31 -05:00
Adam Magness
218f0734be
Rename removeTags to escapeTags
...
rename function and update calls.
2018-11-09 13:29:42 -05:00
Adam Magness
063f0e9cb0
Rename escapeTags to escapeHtml
...
rename function and update calls.
2018-11-09 13:27:58 -05:00
Adam Magness
b5a97c1abe
Move getTags to BBCode
...
move getTags function to BBCode class and update calls.
2018-11-09 13:24:19 -05:00
Adam Magness
e4354a0d7b
Update and Remove isValidEmail
...
change function calls, and remove unneeded function.
2018-11-09 13:18:42 -05:00
Adam Magness
ffc406d819
normalise_link calls
...
implement normaliseLink function
2018-11-08 11:28:29 -05:00
Adam Magness
5276c28a78
link_compare calls
...
implement compareLink function.
2018-11-08 10:46:50 -05:00
Adam Magness
6fc9c6de3b
base64url calls
...
implement base64UrlEncode and base64UrlDecode functions
2018-11-08 10:37:08 -05:00
Adam Magness
0efcbe5d15
protect_sprintf calls
...
implement protectSprintf function
2018-11-08 10:30:45 -05:00
Adam Magness
46d7767fd0
formatBytes calls
...
implement function in new class
2018-11-08 10:28:49 -05:00
Adam Magness
b73af72deb
deindent calls
...
implement function in new class
2018-11-08 10:26:49 -05:00
Adam Magness
916b3e551e
format_network_name calls
...
implement formatNetworkName function
2018-11-08 10:24:47 -05:00
Adam Magness
b99925060a
autoname calls
...
implement getRandomName function
2018-11-08 10:22:20 -05:00
Adam Magness
0e01568ccd
escape_tags calls
...
implement escapeTags function
2018-11-08 10:20:03 -05:00
Adam Magness
a0f65ca7a1
notags calls
...
implement removeTags function
2018-11-08 10:14:37 -05:00
Adam Magness
991f259ecb
random_string calls
...
implement getRandomHex function
2018-11-08 08:45:46 -05:00
Adam Magness
e537f7d017
Function calls
...
update function calls to new class
2018-11-06 21:16:27 -05:00
Jonny Tischbein
93d50af700
move live update: update_contacts to update_contact
2018-11-06 22:22:42 +01:00
Hypolite Petovan
dc669fa736
Merge pull request #6090 from zeroadam/TextToL10n
...
Split functions to L10n
2018-11-06 13:44:30 -05:00
Hypolite Petovan
dd35cd0701
Merge pull request #6086 from friendica/fabrixxm-patch-1
...
Fix Friendica node info json
2018-11-06 10:48:00 -05:00
fabrixxm
0441a169a9
Fix code style
2018-11-06 16:37:58 +01:00
Adam Magness
352da9bcf3
Update function calls
...
update function calls for moved functions
2018-11-06 09:52:58 -05:00
fabrixxm
56484eaaeb
Fix Friendica node info json
...
And stop worker sending warning from PortableContacts.php
2018-11-06 10:07:22 +01:00
Adam Magness
a71eb1d127
functions moved to HTML class
...
update function calls to moved class.
2018-11-05 21:06:26 -05:00
Philipp Holzer
6e10bdf361
Move random Digits to Crypto class
2018-11-05 21:02:54 +01:00
Hypolite Petovan
0472c7b57d
Merge pull request #6070 from zeroadam/TextToXML
...
split xml functions out of text.php
2018-11-05 13:50:09 -05:00
Hypolite Petovan
81e81bd8c8
Merge pull request #6079 from annando/issue-dir-15
...
Directory issue 15: Support the "account-type"
2018-11-05 13:49:28 -05:00
Michael
b011e42ad2
Issue 6074: Language and "explicit" are now exported
2018-11-05 18:14:58 +00:00
Adam Magness
9e51be7554
Revert "Update function calls"
...
This reverts commit 748fb8b946
.
2018-11-05 13:07:07 -05:00
Michael
9d63c3eb01
Language is now transmitted as well
2018-11-05 18:03:26 +00:00
Michael
58ce0d799b
Directory issue 15: Support the "account-type"
2018-11-05 17:59:46 +00:00
Adam Magness
748fb8b946
Update function calls
...
update function calls to new class
2018-11-05 07:40:18 -05:00
Adam Magness
b07d47b0f7
Update function calls
...
update function calls to new names
2018-11-05 07:24:14 -05:00
Adam Magness
61bc9facc8
Implement functions
...
implement functions relocated to xml class
2018-11-05 07:24:14 -05:00
Michael
1b43d459b6
Fix for delivering forum posts again
2018-11-01 23:52:06 +00:00
Jonny Tischbein
6b43174a74
Fix for vier theme / NonAjax Call
2018-10-31 20:09:44 +01:00
Jonny Tischbein
b66bcb20da
Redirect to previous page after NON-AJAX Post delete via second parameter in /item/drop
2018-10-31 20:09:44 +01:00
Hypolite Petovan
7d5494dd67
Merge pull request #6055 from zeroadam/FileTagHotFix
...
Misspelling in use statement
2018-10-31 13:57:33 -04:00
Hypolite Petovan
8a46c786f3
Merge pull request #6053 from zeroadam/CoreRenderer
...
Core Renderer Class
2018-10-31 13:57:12 -04:00
Adam Magness
a09273802e
Misspelling in use statement
...
misspelled Friendica
2018-10-31 13:42:38 -04:00
Adam Magness
70f01d6c00
Template Engine and props to Renderer
...
move methods and props from App to Renderer
2018-10-31 13:25:38 -04:00
Adam Magness
35abc4bb64
get markup template
...
implement getMarkupTemplate function
2018-10-31 10:44:06 -04:00
Adam Magness
91facd2d0a
replace macros
...
implement new replaceMacros function
2018-10-31 10:35:50 -04:00
Philipp Holzer
87f3fe24f7
Moving UPDATE defines/constants out of boot
2018-10-31 14:44:23 +01:00
Philipp Holzer
4ae985e5ed
Setting update version & time on success
2018-10-31 14:44:23 +01:00
Philipp Holzer
26aee23254
Replacing dbupdate_ in admin.php and removing it from Worker\DBUpdate
2018-10-31 14:44:22 +01:00
Adam Magness
d9b558a8ed
Update function calls
...
update function calls to new class.
2018-10-30 14:51:45 -04:00
Adam Magness
50da89d861
Logger Levels
...
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
Hypolite Petovan
f7147fae96
Merge pull request #6041 from nupplaphil/install_to_module
...
Install to Module
2018-10-30 08:17:26 -04:00
Michael
84be62982a
Diaspora signature transport via AP/DFRN should be repaired now
2018-10-29 21:15:37 +00:00
Philipp Holzer
abb50fbf62
Install to Module
...
- Move Install to Module
- Some Bugfixings
2018-10-29 14:10:45 +01:00
Hypolite Petovan
933f43218a
Merge pull request #6037 from annando/ap-signatures
...
Diaspora signatures are now stored and transmitted correctly
2018-10-27 13:49:19 -04:00
Michael
4831688dc0
Diaspora signatures are now stored and transmitted correctly
2018-10-27 14:35:22 +00:00
Hypolite Petovan
de6b640483
Remove extra use statement in mod/item
...
Fix #6036
2018-10-27 09:54:38 -04:00
Michael
73f596cc46
Fixes duplicated transmissions and not working undo of like/dislike
2018-10-27 11:09:23 +00:00
Jonny Tischbein
deed949ff0
Code Standards: var name, spaces, array_push short form
2018-10-26 00:18:47 +02:00
Jonny Tischbein
6bab8f1a43
Fix ?
2018-10-25 21:57:11 +02:00
Jonny Tischbein
581d1b9c9e
Code Standards: Spaces
2018-10-25 21:49:18 +02:00
Jonny Tischbein
ea36f85457
Code Standard: indent
2018-10-25 21:47:10 +02:00
Jonny Tischbein
b03050c339
Replace update/delete with Term::insertFramTagFieldByItemId + Code Standards + Wording
2018-10-25 21:47:10 +02:00
Jonny Tischbein
e022bac339
Code Standard + renaming deleteAllTags + move its call and add type param
2018-10-25 21:47:10 +02:00
Jonny Tischbein
26ed71cc14
Only perform Term::deleteAllTags when needed + not needed redirect
2018-10-25 21:47:10 +02:00
Jonny Tischbein
272eb5eb82
fix doxygen header + indent
2018-10-25 21:47:10 +02:00
Jonny Tischbein
1689c44085
Fix goaway call
2018-10-25 21:47:10 +02:00
Jonny Tischbein
fd2e06781d
Fix adding / removing photo tags + tagrm delete via GET + Item::update / add Term::deleteAllTags
2018-10-25 21:47:10 +02:00
Hypolite Petovan
dde8d8976d
Fix usages of Pager with JSON calls in mod/match and mod/dirfind
2018-10-25 00:07:16 -04:00
Hypolite Petovan
74e80f137b
Update Pager->__construct calls for minimal use cases
2018-10-25 00:07:16 -04:00
Hypolite Petovan
7c0b591043
Move itemCount parameter from constructor to renderFull()
...
- Remove Pager->itemCount property and Pager->setItemCount() method
- Update usage
2018-10-25 00:07:16 -04:00
Hypolite Petovan
14237a9599
Move $pager and $page_offset out of App
...
- Move infinite scroll data output in a module hook
- Use Pager instead of paginate() and alt_pager()
2018-10-25 00:07:15 -04:00
Philipp Holzer
99a33b7335
Code standards
2018-10-24 20:44:19 +02:00