Commit graph

4171 commits

Author SHA1 Message Date
f059b33390 Avoid empty user export when there are UTF8 problems 2017-11-26 13:58:24 +00:00
Hypolite Petovan
068d3dc746
Merge pull request #3959 from annando/image-forum
Images that are uploaded to public forums are now public
2017-11-25 21:40:33 -05:00
cb7648359c When we are requesting a conneczion, the contactis no longer "blocked" 2017-11-26 02:31:26 +00:00
a7088f5b67 Images that are uploaded to public forums are now public 2017-11-26 02:03:59 +00:00
rabuzarus
4224209497 Merge develop into 20171122_-_port_tagcloud
Conflicts:
	include/features.php
2017-11-25 23:41:20 +01:00
1adff81a25 Documentation for "fetch further information" 2017-11-25 14:43:28 +00:00
3cb906c420 Issue 3911: Fetch keywords for feeds 2017-11-25 11:59:20 +00:00
Adam Magness
609a4de5d0 src Standards
This basically completes coding standards changes for the entire src directory, with the exception of App.php
2017-11-23 14:01:58 -05:00
rabuzarus
19afabd268 tags: possibility to filter posts for tags and profile owner (profile) 2017-11-23 00:59:20 +01:00
rabuzarus
d7d653aab6 port tag cloud widget from hubzilla 2017-11-22 21:29:07 +01:00
Adam Magness
7cee150868 ForumManager to src
ForumManager moved to Friendica\Content namespace
2017-11-21 07:20:22 -05:00
Hypolite Petovan
33ad6b6d7e
Merge pull request #3927 from rabuzarus/20171121_-_fix_reg_notifs
Bugfix: show no registrations notifs if there are none
2017-11-20 23:54:11 -05:00
rabuzarus
04a7291303 Bugfix: show no registrations notifs if there are none 2017-11-21 03:45:13 +01:00
Adam Magness
69fd3c60b0 Indentation fix
errant indentation change
2017-11-20 19:03:58 -05:00
Adam Magness
1726ededac Emailer to src
Move emailer to src Friendica\Util namespace
2017-11-20 15:37:30 -05:00
Adam Magness
ddacbf2c13 XML class standards
updated the xml class for PSR-2
2017-11-20 12:56:31 -05:00
Hypolite Petovan
b85c94a60d
Merge branch 'develop' into issue/3878-move-Contact-to-src 2017-11-19 18:09:14 -05:00
Hypolite Petovan
81647cefed
Merge pull request #3920 from annando/scripts
The poller is now the worker and we have a "scripts" folder
2017-11-19 17:25:14 -05:00
Hypolite Petovan
898fe2db1e Code cleanup
- Remove extraneous use statements
- Format require_once
2017-11-19 17:06:18 -05:00
Hypolite Petovan
5ee728972e Remove include/Contact.php
- Remove all mentions to include/Contact.php
2017-11-19 17:05:21 -05:00
Hypolite Petovan
ec02af593d Change called method names
- Add GlobalContact::getRandomUrl
- Rename Contact::getIdForURL
- Rename Diaspora::sendUnshare
- Remove unused parameter $self in Contact::terminateFriendship
2017-11-19 17:03:39 -05:00
Hypolite Petovan
b92fc24ff0 Add Contact Object
- Add Profile Object
- Add User Model
- Add use statements
2017-11-19 16:55:28 -05:00
920160cb28 The poller is now the worker 2017-11-19 21:47:21 +00:00
Adam Magness
a6d501bc4e Overzealous rename
reverted change to function name.
2017-11-19 16:14:16 -05:00
Adam Magness
d9e9cbe753 Coding Standards
A few updates for coding standards
2017-11-19 15:32:54 -05:00
183999ee08 No german compound wording :-) 2017-11-19 19:47:04 +00:00
8cd21269ff The last of the big workers moved ... delivery and notifier 2017-11-19 18:59:55 +00:00
2de457489f "CreateShadowentry" and "ProfileUpdate" now moved as well 2017-11-19 16:59:37 +00:00
Hypolite Petovan
2336fa9d74 Add smart_threading user setting 2017-11-19 00:57:31 -05:00
1f28cbd2c6 And now DiscoverPoCo.php 2017-11-18 11:02:46 +00:00
01362461cf poller.php is cleaned up, unneeded stuff has been removed 2017-11-18 11:01:01 +00:00
925d2d2383 Directory moved 2017-11-18 07:59:30 +00:00
Adam Magness
cd12de46f8 OStatus moved to src
OStatus moved to Friendica\Protocol namespace. References and function calls updated.
Related to #3878
2017-11-15 23:09:11 -05:00
Adam Magness
259f91caa9 PortableContact created
Create PortableContact and remove socgraph, update references, and calls
2017-11-15 10:53:16 -05:00
Adam Magness
47db624105 GlobalContact created
Moved DirSearch and GlobalContact related functions to Friendica\Model namespace
2017-11-15 09:47:49 -05:00
476facde61 Onepoll moved as well 2017-11-12 18:50:35 +00:00
Adam Magness
4d146acf90 Smilies to src
Move Smilies to Friendica\Content namespace.

Related to #3878
2017-11-11 07:21:15 -05:00
Hypolite Petovan
6b23548a2b
Merge pull request #3896 from tobiasd/20171110-community
adding a global community disclaimer
2017-11-10 16:17:38 -05:00
fd2b807292 halfe the double 2017-11-10 22:00:39 +01:00
4f95b413fa some corrections 2017-11-10 20:57:02 +01:00
3e1d0bf7a8 move HTML to template and add an optional hint that a global community page shows all arriving public postings 2017-11-10 20:25:17 +01:00
Adam Magness
bc49fc974c Capitalized XML
Acronym classes should be capitalized
2017-11-10 07:45:33 -05:00
Adam Magness
f245bc8359 Move xml to namespace
Relocate xml from include to src
Related to #3878
2017-11-10 07:18:24 -05:00
b8a76794e0 add info text about email on registration 2017-11-10 08:06:56 +01:00
Adam Magness
06c3af9b60 Move Cache to src
relocate the cache class to Friendica\Core namespace
2017-11-09 11:05:18 -05:00
Hypolite Petovan
ee5b9de6ad Reverting RINO crypto code to php-encryption version 1.2 2017-11-09 03:20:18 -05:00
Hypolite Petovan
1262d6bfee Function name typo 2017-11-09 03:01:53 -05:00
Hypolite Petovan
918f2e8593 Fix another php-encryption version migration error 2017-11-09 03:01:02 -05:00
Hypolite Petovan
d5aff9ac31 Fix php-encryption version 2 compatibility issues 2017-11-09 02:35:11 -05:00
Hypolite Petovan
acd65aade1 Switch to new php-encryption library version
- Remove references to library/ files
- Add namespace to library classes
2017-11-09 02:21:37 -05:00
Adam Magness
4ca68c7af0 Class file relocations
Issue #3878
2017-11-08 08:37:03 -05:00
Adam Magness
6189f6c8e7 Relocate class files from /include to /src/
dbm, Diaspora, dfrn, and NotificationsManager moved to namespace. Includes and references in files updated.
2017-11-08 08:36:48 -05:00
063358301f One space more 2017-11-08 13:08:26 +00:00
76caf7a9cf Small corrections 2017-11-08 06:43:20 +00:00
76f73c7236 And some more places 2017-11-07 22:15:59 +00:00
5a6fa4ae87 Some more 2017-11-07 21:53:11 +00:00
Adam Magness
a782ab50f9 Correct deletion
Bring back mod/probe.php and delete include/probe.php as intended.
2017-11-07 12:31:32 -05:00
Adam Magness
8522c47353 Remove Includes
Removed references to include/config.php and include/probe.php and deleted the respective files.
2017-11-07 12:14:03 -05:00
Adam Magness
b995e858e6 Review changes
Replacements for ::delete() as well as changes to include use statements.
2017-11-07 09:12:01 -05:00
Adam Magness
0dfa57948f Issue-#3873
Replace deprecated functions with new syntax.
2017-11-07 06:24:39 -05:00
Michael Vogel
669dafcf22
Merge pull request #3876 from tobiasd/2017107-followup3874
add version info to notification text
2017-11-07 06:44:05 +01:00
a49c1be7c9 add version info to notification text 2017-11-07 06:32:10 +01:00
Hypolite Petovan
c847a2f9cc
Merge pull request #3874 from tobiasd/20171009-checkversion
check upstream version
2017-11-06 13:59:49 -05:00
7881fd7dc9 std foo 2017-11-06 18:20:39 +01:00
143e7fc6b7 dont use the entire url as option 2017-11-06 18:05:42 +01:00
1f9b52f2bf code corrections 2017-11-06 17:45:33 +01:00
930309d2ec Merge remote-tracking branch 'upstream/develop' into worker-class 2017-11-05 17:23:53 +00:00
Hypolite Petovan
93fd189198
Merge pull request #3866 from annando/detailled_notif
There is now a user switch to change between notification styles
2017-11-05 08:14:10 -05:00
478e363967 proc_run was replaced 2017-11-05 12:15:53 +00:00
da212a28a2 New worker class that does all the work 2017-11-05 10:33:46 +00:00
0d0751fce3 comparison works now 2017-11-05 07:45:49 +01:00
9c78938ca9 Improved "if" construct 2017-11-04 21:27:32 +00:00
4831587250 Some explanation added 2017-11-04 14:00:29 +00:00
2894214347 Misspelled "detailed" 2017-11-04 12:08:12 +00:00
7de3eae8d0 There is now a user switch to change between condensed and detailled notifications 2017-11-04 12:01:08 +00:00
6ee747dee8 missed something 2017-11-04 09:48:20 +01:00
4347e479d3 noscrape now contains "last-activity" which tells roughly the last activity 2017-11-04 08:38:22 +00:00
53f83dc0a1 typo 2017-11-04 09:31:57 +01:00
08977cbc6b this setting is not used anymore 2017-11-04 08:32:34 +01:00
87c39cc396 this setting is not used anymore 2017-11-04 08:23:56 +01:00
33ad8117ce this setting is not used anymore 2017-11-04 08:22:42 +01:00
503ffa98d2 settings for checkversion 2017-11-04 08:15:28 +01:00
1928217f83 added config wrapper around new option, opt-in 2017-11-03 15:52:40 +01:00
79add903fe wording 2017-11-03 15:52:40 +01:00
778c83bf25 show a notification in the admin panel if a newer version is available 2017-11-03 15:52:40 +01:00
d739fe2503 Issue 3860: Enhanced support of "!" for forums 2017-11-03 05:07:19 +00:00
937f36f754 @posts to only the forum should be treated like !posts 2017-11-02 21:25:20 +00:00
a2f9ea2642 Forum posts with "!" are now created directly as forum post 2017-11-02 20:15:14 +00:00
82321114ab If a post is dedicated to a single forum then it will be rewritten to a forum post 2017-11-01 23:20:43 +00:00
5222606602 Use the exclamation mark to address forums as well 2017-10-31 19:33:23 +00:00
a5d8d1fd77
Update display.php
adding baseurl to image tags for twitter and open Graph
2017-10-31 02:45:58 +01:00
e2224a2ddc Some Webfinger clean up 2017-10-28 11:48:29 +00:00
0b7e8b7fb4 Hubzilla doesn't return the handle in the hcard 2017-10-27 06:17:24 +00:00
Hypolite Petovan
0c347d1466 Merge pull request #3819 from annando/photo-rework
Better handling for GIF even, if not supported by the graphics library
2017-10-23 13:04:52 -04:00
Hypolite Petovan
476d7d9533 Merge pull request #3813 from annando/remove-old-stuff
Removed stuff that was never used or isn't used anymore
2017-10-23 10:00:16 -04:00
b513a597c8 Static methods should be called statically 2017-10-21 16:13:25 +00:00
2624abdc35 Now only resize if supported 2017-10-21 15:31:31 +00:00
09727024ba Better handling for GIF even, if not supported by the graphics library 2017-10-21 15:09:47 +00:00
rabuzarus
f2d51737eb fix some HTML violations in frio 2017-10-20 15:21:42 +02:00
69afe50345 Removed stuff that was never used or isn't used anymore 2017-10-19 07:41:15 +00:00
0695fa699c Removed "service class" functionality 2017-10-18 21:44:27 +00:00
c92ed9bc5e Bugfix: Switch to all networks when posts for a single contact are selected. 2017-10-18 18:54:06 +00:00
59ce6de50c Merge pull request #3805 from annando/nodeinfo-fix
Bugfix: Local comments weren't calculated.
2017-10-18 19:13:58 +02:00
Michael Vogel
d60f96f0e1 Merge pull request #3797 from rabuzarus/20171015_-_duplicate_event
add event action: duplicate events
2017-10-18 18:57:58 +02:00
3b783f6ac9 Bugfix: Local comments weren't calculated. 2017-10-18 16:54:12 +00:00
rabuzarus
10ba6df17f initilize $sh_disabled 2017-10-18 13:23:26 +02:00
a1099a021a relocation message is also send to D* contacts 2017-10-18 11:04:44 +02:00
edb16f8dc8 Merge pull request #3803 from annando/conversation-feed
we now provide a feed for the conversation
2017-10-18 08:29:47 +02:00
4744d6bf84 we now provide a feed for the conversation 2017-10-18 06:25:22 +00:00
d675c84051 Issue 3801: Personal notes hadn't been displayed 2017-10-18 04:55:03 +00:00
rabuzarus
c1699364ae reload the acl if a new event edit or copy modal is opened 2017-10-15 22:34:31 +02:00
08f461f70c Bugfix: Revive dead contacts 2017-10-15 19:34:15 +00:00
rabuzarus
74d813042f extend checkbox template for customized attributes 2017-10-15 18:45:49 +02:00
rabuzarus
4584670af4 add event action: duplicate events 2017-10-15 17:30:28 +02:00
5acdd18c00 Improve the data generation for the display page 2017-10-12 19:54:49 +00:00
a29b7e7153 "dba" is now a static class 2017-10-11 12:56:36 +00:00
ed13034e23 Merge pull request #3773 from annando/force-republish
Force a republish to the directory server
2017-10-09 21:39:24 +02:00
c8eefbd091 Force a republish to the directory server 2017-10-09 19:26:45 +00:00
495b639e55 .com -> .ca 2017-10-08 10:22:29 +02:00
ecce105ae8 Avoid SQL error when in Forum view 2017-10-07 21:51:03 +00:00
68c6788762 Bugfix: Wrong function in search 2017-10-07 19:51:49 +00:00
88a70f9e2a Possibly better handling of the single user admin setting 2017-09-30 13:58:07 +00:00
bd88179419 Add additional checks for the worker 2017-09-30 11:19:46 +00:00
Alexandre Alapetite
da4b08fc4a SQL fix fbrowser (RC)
https://github.com/friendica/friendica/pull/3742

Fixing non-standard GROUP BY, and non-standard ORDER BY.

```
DB Error 1055: Expression #2 of SELECT list is not in GROUP BY clause
and contains nonaggregated column 'friendica.photo.id' which is not
functionally dependent on columns in GROUP BY clause; this is
incompatible with sql_mode=only_full_group_by
q, fbrowser_content
SELECT `resource-id`, `id`, `filename`, type, min(`scale`) AS
`hiq`,max(`scale`) AS `loq`, `desc` FROM `photo` WHERE `uid` = 1 AND
`album` != 'Contact Photos' AND `album` != 'Contact Photos' GROUP BY
`resource-id` ORDER BY created DESC LIMIT 0, 10
2017-09-27T17:16:35Z@tmkfko6titb71nug3i4vr1mnb1 [NORMAL]:dba.php:553:p
DB Error 1055: Expression #2 of SELECT list is not in GROUP BY clause
and contains nonaggregated column 'friendica.photo.id' which is not
functionally dependent on columns in GROUP BY clause; this is
incompatible with sql_mode=only_full_group_by
q, fbrowser_content
```

```
ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in GROUP BY
clause and contains nonaggregated column 'friendica.photo.created' which
is not functionally dependent on columns in GROUP BY clause; this is
incompatible with sql_mode=only_full_group_by
```
2017-09-28 21:24:07 +02:00
289dde39ce Removed unused setting 2017-09-25 19:05:05 +00:00
66515ed85e Diaspora: Posts from Diaspora relais are transmitted the old way 2017-09-25 04:24:47 +00:00
8983dcaa77 Improvements for following/unfollowing of Diaspora and OStatus 2017-09-23 14:48:27 +00:00
b79c3241c6 Directly serve atom+xml if requested 2017-09-19 11:53:19 +00:00
72b42ad688 Last blob is now filled with the new functions 2017-09-15 21:17:58 +00:00
dfd48dd6f6 "qu" is no more 2017-09-15 21:00:39 +00:00
6d7ececc42 Bugfix for pictures that weren't stored / reworked database calls 2017-09-15 19:41:30 +00:00
c12075a005 Merge remote-tracking branch 'upstream/develop' into network-page 2017-09-15 06:42:33 +00:00
0384e875a2 Merge pull request #3702 from annando/new-dba
The old database function is now replaced with a wrapper
2017-09-15 08:31:25 +02:00
c3589dc043 Added documentation 2017-09-14 06:10:33 +00:00
c6ceae5225 The old database function is now replaced with a wrapper 2017-09-14 05:19:05 +00:00
92537d6926 Rearranged code 2017-09-13 09:20:08 +00:00
a5cf2c69c8 Reworked network page 2017-09-13 06:43:43 +00:00
3dcd281de4 Rearranged code 2017-09-12 11:04:59 +00:00
c636b0a6b2 We can now unfollow a contact without deleting it 2017-09-12 06:08:24 +00:00
4b403e4fe2 OStatus: Reworked import 2017-09-10 07:21:23 +00:00
637eb0bfb4 Bugfix: Mails weren't sent 2017-09-08 15:14:33 +00:00
d25670a4e6 "remote self" should work now 2017-09-06 16:20:14 +00:00
b1668ffdda Address instead of url 2017-09-01 19:32:12 +00:00
88fb02db8d Small correction 2017-08-31 12:10:17 +00:00
0e8104b172 Links to profiles in mails mow show the profile address and "redir" always works 2017-08-31 12:01:44 +00:00
5f33f28b9e Display hadn't shown public items that weren't known to the user 2017-08-30 20:20:01 +00:00
5ab697e726 Removed unused template variable 2017-08-30 06:20:01 +00:00
02179e9419 Some missing tab 2017-08-30 06:16:31 +00:00
04f286dca2 Support for JSON based webfinger 2017-08-30 05:34:37 +00:00
1893c3df16 Pleroma-Servers are now detected and displayed in the statistics 2017-08-29 16:40:08 +00:00
c382f9f3d7 Some more 2017-08-26 07:52:49 +00:00
5adfeb0bd5 App::get_baseurl is now replaced with System::baseUrl 2017-08-26 07:32:10 +00:00
3c24bed412 New class "System" 2017-08-26 06:04:21 +00:00
21b239cbc7 Documentation was updated. (Reference to poormancron removed) 2017-08-25 02:49:25 +00:00
6998897a34 Limit the number of feed entries (Can solve resub problems) 2017-08-23 23:01:37 +00:00
2293757a36 Just some empty lines 2017-08-23 20:33:32 +00:00
b378f5fb01 The "hub" url now contains the nickname 2017-08-23 05:01:15 +00:00
e607a9dcda Our user feeds now look more like OStatus 2017-08-22 10:18:07 +00:00
17b05c9ad9 Hash tag links now do a redir 2017-08-19 09:22:50 +00:00
791fc1d8b3 DFRN: Improved delivery status handling 2017-08-16 04:08:57 +00:00
4f6f47f714 Now the bugfix really should work 2017-08-14 20:58:02 +00:00
2d99e86b12 Bugfix for PR 3630: "get_contact_details_by_url" not always returned a value 2017-08-14 20:17:17 +00:00
0ac725dc47 Some more updated queries 2017-08-12 22:15:16 +00:00
41a81624a2 Now deletions will also work with complicated queries 2017-08-12 18:07:47 +00:00
89017d4e6c DBA: The condition can now be a complex string 2017-08-12 13:54:29 +00:00
1d8c91c478 Restructured "dba::exists" function 2017-08-12 08:55:50 +00:00
b14b44e8a8 Merge remote-tracking branch 'upstream/develop' into dba-2 2017-08-12 07:37:06 +00:00
Michael Vogel
adf06e9c81 Merge pull request #3627 from tobiasd/20170812-invite
wrong url
2017-08-12 09:33:14 +02:00
3b67ef3e9c wrong url 2017-08-12 07:46:37 +02:00
05393a6faa Merge remote-tracking branch 'upstream/develop' into dba-2 2017-08-11 16:24:33 +00:00
99f0c01cdd Some more changed queries 2017-08-11 16:21:55 +00:00
d352a290fe Parameter wasn't replaced 2017-08-11 08:55:07 +00:00
d810b21f87 New dba functions 2017-08-11 08:04:01 +00:00
e6e8ebbac5 Merge pull request #3622 from annando/new-dba
Enhanced dba functions, several replaced database calls
2017-08-11 08:11:20 +02:00
e89e008565 missing bracket 2017-08-10 10:31:45 +02:00
fce72cbbc8 Modifed "update" and "insert" function / many changed queries 2017-08-09 21:12:41 +00:00
6504156508 add a switch to the Markdown parser for using hard line breaks (issue 3592) 2017-08-09 16:04:53 +02:00
ee6956a91a else is sufficient here 2017-08-03 07:23:05 +02:00
0c8c69371c no global directory URL defined? 2017-08-03 07:22:29 +02:00
6cf951c930 use /servers instead of /siteinfo for the directory link in invitations 2017-08-02 08:48:01 +02:00
7034d6efbd use /servers instead of /siteinfo for the directory link in invitations 2017-08-02 08:47:09 +02:00
016e4a0efc Show contacts personal message in local profile 2017-08-01 17:47:13 +02:00
55569f9df3 This is a fix for issue 3536. Now likes aren't show anymore on the community page. 2017-07-31 19:29:43 +00:00
c98ae304c0 Endless scroll now avoids showing the same items 2017-07-31 06:04:37 +00:00
79fe249c54 Better use a wrapper 2017-07-22 06:43:04 +00:00
5d7e1e1a15 Use the realpath for the handling with (temporary) paths 2017-07-22 05:50:25 +00:00
b5f58d317e there was a string not marked for translation 2017-07-14 15:21:08 +02:00
Michael Vogel
896bf4046c Merge pull request #3569 from tobiasd/20170702-delete
delete item from admin panel
2017-07-10 18:44:19 +02:00
dc41ac0f61 use drop_item and some magic 2017-07-10 14:55:40 +02:00
9304bb6422 Typos 2017-07-07 20:54:26 +02:00
aabde5422b allow the admin to delete an item by GUID from the admin panel 2017-07-07 10:38:07 +02:00
rabuzarus
8ed6b037cf Merge pull request #3561 from annando/issue-3560
Guests should be able to use the search as well
2017-07-04 01:09:01 +02:00
e26991ba26 Guests should be able to use the search as well 2017-07-03 20:48:44 +00:00
Michael Vogel
2b161108fe Merge pull request #3439 from tobiasd/20170506-token
[Needs OpenID testing] Add token to register
2017-07-02 21:31:53 +02:00
Michael Vogel
578cb0a55c Merge pull request #3539 from AndyHee/20170617-admin_settings
Corrected names for counting/ listing account-types in admin panel
2017-06-28 07:24:41 +02:00
be3bfaec80 Only show the number of workerqueue entries that aren't done 2017-06-20 02:05:16 +00:00
cf179188b6 Some more worker fine tuning 2017-06-17 13:58:18 +00:00
d7b411e9bc Corrected names of account-types 2017-06-17 12:36:14 +07:00
de5a0dadb0 Merge pull request #3534 from AndyHee/20170609-User_settings
Better input hints, user settings, account types
2017-06-09 12:39:50 +02:00
c8f87e1c28 Updated settings.php 2017-06-09 16:21:25 +07:00