Commit graph

4130 commits

Author SHA1 Message Date
8bffee43b3 Threads are now always enabled. 2017-11-28 18:54:39 +00:00
Michael Vogel
3f448d9a42
Merge pull request #3970 from MrPetovan/task/3942-add-user-authenticate
Migrate password hashing Part 1: Add User::authenticate
2017-11-27 15:14:36 +01:00
9612496e9e The function "template_escape" doesn't exist anymore. 2017-11-27 06:44:49 +00:00
a6de1a1ae8 Posting images to public forums now really does work. 2017-11-26 22:28:46 +00:00
Hypolite Petovan
2196a0577b Remove unused upubkey and uprvkey from queries
- Switched queries to new dba::* functions
2017-11-26 14:55:47 -05:00
Hypolite Petovan
ec6f5193e2 Switch to User::authenticate
- Removed hash('whirlpool') to check password
2017-11-26 14:46:08 -05:00
Hypolite Petovan
90a8ae2cb8 Fix formatting
- include/auth.php
- include/oauth.php
- include/user.php
- mod/removeme.php
- src/Worker/Queue.php
2017-11-26 14:18:45 -05:00
661f9af93a Network page: Selecting a forum overrides the group selection 2017-11-26 16:17:32 +00:00
Hypolite Petovan
3fbf2e3bcf
Merge pull request #3966 from rabuzarus/20171122_-_port_tagcloud
A tag cloud widget for the profile page
2017-11-26 11:16:14 -05:00
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