Adam Magness
878ce3b858
Move follow functions
...
move follow functions into Contact class
2018-01-09 09:40:45 -05:00
Hypolite Petovan
4a20bcd6f0
Fix allowed_email()
...
- Reworked allowed_domain
- Added more variable checks to allowed_email() and
OEmbed::isAllowedURL()
2018-01-07 19:10:09 -05:00
Michael
e12b6e01a2
Best "uid" for sending comments, refresh after commenting might work now
2018-01-07 17:14:43 +00:00
Michael
592ef50e41
Dropping is now possible as well
2018-01-07 11:59:54 +00:00
Michael Vogel
1fdde9b140
Merge pull request #4179 from MrPetovan/bug/4173-fix-oembed-iframe-url
...
Fix OEmbed iframe
2018-01-07 09:28:44 +01:00
Hypolite Petovan
d8a312d286
Move tryoembed to Content\OEmbed
...
- Add bbcode functions documentation
- Add Exception handling to OEmbed::getHTML
- Fix formatting
2018-01-07 00:44:23 -05:00
Hypolite Petovan
1cd8001833
Fall back to normal twitter share if rich OEmbed is disabled
...
- Fix typo
2018-01-06 21:57:58 -05:00
Michael
f7d3ba26c8
The internal authentication for XMPP does work again
2018-01-07 00:55:20 +00:00
Hypolite Petovan
9593cac2d1
Replace hacky oembed local iframe with remote iframe html
...
- Remove call to OEmbed::iframe
- Replace oembed span by div
- Replace double quotes with single
2018-01-06 00:35:43 -05:00
Michael
2d9163ce30
Posts from contacts weren't displayed correctly
2018-01-05 19:47:55 +00:00
Hypolite Petovan
8d07a69bba
Merge branch 'develop' into task/fix-scrutinizer-issues
2018-01-05 09:18:14 -05:00
Michael Vogel
3c0c85e211
Merge pull request #4172 from MrPetovan/task/4144-improve-connectors-settings
...
Improve connectors settings
2018-01-05 15:15:24 +01:00
Michael
a157966bb9
Disable editing of public items / Reshare of community items is now possible
2018-01-05 13:48:06 +00:00
Hypolite Petovan
1cc39e7fb4
Scrutinizer fixes for mod/settings
...
- Use defaults()
- Remove unused variables and constants
- Fix some formatting
- Improve documentation
2018-01-05 02:48:02 -05:00
Hypolite Petovan
819592c3bd
Fix Scrutinizer issues in mod [_well_know -> contactgroup]
...
- Remove unused variables and parameter
- Updated function documentation
- Fix formatting
- Add back uninitialized variables
- Simplify nested conditions
2018-01-04 19:42:48 -05:00
Hypolite Petovan
5640c42469
Merge pull request #4170 from MrPetovan/bug/4155-remove-proxy-oembed
...
Fix typo in OEmbed
2018-01-04 16:34:02 -05:00
Hypolite Petovan
85696bb5fa
Fix typo
2018-01-04 16:29:35 -05:00
Hypolite Petovan
58d5d91831
Merge pull request #4168 from annando/comment-dfrn
...
Commenting to (nearly) every Friendica contact is now possible
2018-01-04 15:12:07 -05:00
Michael Vogel
066b776dcc
Merge pull request #4166 from MrPetovan/task/fix-scrutinizer-issues
...
[Scrutinizer] Fix unused code issues in boot and include
2018-01-04 20:59:07 +01:00
Michael Vogel
c938623a3d
Merge pull request #4167 from MrPetovan/bug/4155-remove-proxy-oembed
...
Add settings for OEmbed
2018-01-04 20:57:27 +01:00
Michael
0c9a9b6f0c
Commenting to (nearly) every Friendica contact is now possible
2018-01-04 19:48:56 +00:00
Hypolite Petovan
722782d553
Remove unused parameter in can_write_wall()
2018-01-04 12:21:13 -05:00
Tobias Diekershoff
04589ecd38
Merge pull request #4092 from MrPetovan/task/3954-move-auth-to-src
...
Move auth to src
2018-01-04 18:06:42 +01:00
Hypolite Petovan
1f805da94f
Move ParseUrl to Util namespace
2018-01-04 12:03:15 -05:00
Hypolite Petovan
d416243964
Add check for allowed URL in OEmbed
...
- Add mixed-content mitigating
2018-01-04 12:01:46 -05:00
Hypolite Petovan
6e71a84075
Merge pull request #4160 from annando/community
...
We now are having a global items page
2018-01-04 11:50:45 -05:00
Michael
e96dbbe7f7
It's now in a single file
2018-01-04 13:04:12 +00:00
Michael
04e802e0f6
Use network paging
2018-01-04 10:51:49 +00:00
Michael
174a1bb54b
Commenting on community timelines is now possible
2018-01-04 10:02:56 +00:00
Adam Magness
71534a1475
Review update
...
Rename function and add new function.
2018-01-03 22:36:15 -05:00
Adam Magness
e37640c44c
Move Photos to xrc
...
Move photos from include to Model\Photo class
2018-01-03 21:01:41 -05:00
Michael
11cdb25aeb
Standard
2018-01-03 14:54:25 +00:00
Michael
b002574590
Make the community pages available to local users every time
2018-01-03 14:49:22 +00:00
Michael
2831638aeb
Added documentation
2018-01-03 13:48:52 +00:00
Michael
243848eec1
Remove some currently unused stuff
2018-01-03 13:34:51 +00:00
Michael
3ffea2cd2c
We now have a global page for all global entries from the network.
2018-01-03 13:27:43 +00:00
Michael
6925299e5a
Merge remote-tracking branch 'upstream/develop' into community
2018-01-03 01:15:27 +00:00
Hypolite Petovan
0aea615995
Add float casting back to dfrn_poll
...
- Add new line at end of new module files
2018-01-02 19:37:17 -05:00
Hypolite Petovan
9a3e773a9a
Merge branch 'develop' into task/3954-move-auth-to-src
2018-01-02 19:30:41 -05:00
Hypolite Petovan
7d40f22a2e
Review: Simplify boolean assignment in Object\Post
2018-01-02 08:36:35 -05:00
Hypolite Petovan
60d4c6b86e
Fix PHP Notice in new OEmbed class
2018-01-02 08:20:33 -05:00
Hypolite Petovan
e8e2e41d73
Fix formatting and PHP notices in Object\Post
...
- Use x() and defaults() to fix undefined indexes
- Simplify boolean variable assignments
- Simplify sprintf(t()) structures
2018-01-02 08:18:19 -05:00
Hypolite Petovan
9f04017e27
Quick fix PHP notices in various files
...
- Remove unused variables
- Fix variable name typos
- Use x() and defaults() to fix undefined index
- Add back uninitialized variables
2018-01-02 08:11:14 -05:00
Hypolite Petovan
585c00347d
Fix PHP notices in boot, index and App
...
- Use defaults() with $_GET variables in boot
- Initialize $a before checking for object member in boot
- Initilialize the $_SESSION variable for backend mode in index
- Add member variable page_offset to App
2018-01-02 08:09:49 -05:00
Michael Vogel
a86ffd878d
Merge pull request #4152 from MrPetovan/task/4137-add-posts-only-feed
...
Add posts only feed
2018-01-02 10:14:56 +01:00
Hypolite Petovan
7e2a08c7bc
Review changes
...
- Add file comment in Content\OEmbed
- Add self where relevant
- Remove useless spaces from the XPath expression
2018-01-01 17:43:03 -05:00
Hypolite Petovan
eb1b6605b7
Remove include/oembed and mod/oembed
2017-12-31 20:58:32 -05:00
Hypolite Petovan
e7c53af6fa
Add Module\Oembed and Content\OEmbed
2017-12-31 20:58:09 -05:00
Adam Magness
dc5de5adbd
Public function
...
Make private function public.
2017-12-31 08:31:06 -05:00
Adam Magness
fe3dac4825
Fix self call
...
was self when in Crypto..
2017-12-31 08:29:03 -05:00
Adam Magness
db653e4451
Move salmonKey to Salmon class
...
move the salmonKey function from Crypto to Salmon
2017-12-31 08:04:36 -05:00
Adam Magness
0131fd5745
ASNValue
...
add missing ASNValue
2017-12-30 12:44:43 -05:00
Adam Magness
a00303a6a0
Another ASN
...
attempt #2
2017-12-30 12:23:45 -05:00
Adam Magness
5d352641a8
ASN_BASE
...
error ASN_BASE not found. Probably a namespace thing.
2017-12-30 12:09:08 -05:00
Adam Magness
9e6bf79380
Crypto to src
...
move Crypto to src and Friendica\Util namespace
2017-12-30 11:51:49 -05:00
Hypolite Petovan
a25d07e5e8
Renamed type to filter in OStatus::feed
2017-12-30 00:34:50 -05:00
Hypolite Petovan
a75a27e08f
Add Feed module
...
- Update profile alternate links
2017-12-30 00:32:45 -05:00
Hypolite Petovan
c2e29f2685
Add type parameter to OStatus::feed
...
- Removed unused parameter $a
- Added $nocache parameter
- Updated usages
2017-12-30 00:19:16 -05:00
Hypolite Petovan
d328345815
Simplify System class
...
- Add extension to BaseObject to access App object
2017-12-29 21:55:13 -05:00
Hypolite Petovan
2243a82bb4
Add new Module classes
...
- Add BaseModule
- Add Login module
- Add Logout module
2017-12-29 21:55:13 -05:00
Hypolite Petovan
1724dd3841
Make validate_url more intuitive
...
- Remove the parameter passed by reference
- Add modified url in return value
2017-12-29 21:55:13 -05:00
Hypolite Petovan
e16852c2f5
Replace init_groups_visitor with Group::getIdsByContactId
2017-12-29 21:55:12 -05:00
Michael
10bea2f120
Use the "real" receiver when possible
2017-12-29 20:02:15 +00:00
Michael
d3b626a266
We should send "Post"
2017-12-29 19:18:25 +00:00
Michael
80a41922a9
We now send participations when receiving public posts
2017-12-29 18:52:26 +00:00
Michael
0bcbe6034e
Like on uid=0 does work now
2017-12-27 22:21:40 +00:00
Michael
9acc2ffc24
Make it easier
2017-12-27 21:51:16 +00:00
Michael
869af9f323
Some more logging for auth_ejabberd
2017-12-25 23:03:14 +00:00
Michael
5afedb28d4
You can now comment on the community page
2017-12-23 07:33:51 +00:00
Hypolite Petovan
98c2cdb49a
Merge pull request #4111 from annando/comment-public
...
Preparation for being able to comment every public item
2017-12-21 17:18:14 -05:00
Hypolite Petovan
369f6f205d
Merge pull request #4114 from annando/as-private-as-possible
...
Only locally used methods should always be private
2017-12-21 08:16:10 -05:00
Michael
fba40b8761
Removed unneeded code
2017-12-21 08:58:36 +00:00
Michael
23178a17a7
Only locally used methods should always be private
2017-12-21 07:27:20 +00:00
Michael
8c2d455b98
Better english
2017-12-21 04:53:57 +00:00
Michael
008c97c570
Split the name in the hcard
2017-12-20 21:15:13 +00:00
Michael
fb88d78862
Split the first name and last name so that they fit into the length restrictions of Diaspora
2017-12-20 20:31:25 +00:00
Michael
cdce9b48ab
Added documentation
2017-12-20 10:34:42 +00:00
Michael
fa8a09d977
Comments to public posts no get through
2017-12-19 23:12:37 +00:00
Michael
f9307c4665
Oops
2017-12-19 17:38:33 +00:00
Michael
b457ed6876
Preparation for being able to comment every public item
2017-12-19 17:15:56 +00:00
Michael
b935a2b6d9
Woraround for bad mastodon links
2017-12-19 11:54:02 +00:00
Michael
bfb15f2b33
Workaround for servers that react strange
2017-12-19 09:57:24 +00:00
Michael
409b349011
forgotten $
2017-12-19 09:18:45 +00:00
Michael
2b50f001b9
Added statistics
2017-12-19 07:39:21 +00:00
Michael
ddc25583be
Updated database calls
2017-12-19 06:47:39 +00:00
Michael
dab83c8b40
We now fetch the number of registered users
2017-12-18 23:58:18 +00:00
Michael
52a799574d
OnePoll: We now force an update check all the time
2017-12-18 12:51:29 +00:00
Michael
bd66eefe68
Fix for PR 4095
2017-12-18 09:21:47 +00:00
Michael Vogel
fa11959919
Merge pull request #4095 from MrPetovan/task/fix-phpstan-errors
...
Fix phpstan errors
2017-12-18 07:28:23 +01:00
Hypolite Petovan
98daf58cda
Fix undefined variable in Protocol\OStatus
2017-12-17 16:32:35 -05:00
Hypolite Petovan
872190dcb0
Fix missing variable in Worker\Directory
...
- Remove fixed comment in PortableContact
2017-12-17 16:25:32 -05:00
Hypolite Petovan
b8e41906a4
Remove unused variable in Protocol\PortableContact
2017-12-17 16:22:58 -05:00
Hypolite Petovan
df02238659
Centralize owner data fetch
2017-12-17 16:22:39 -05:00
Hypolite Petovan
e37cf8fea2
Fix missing owner in Protocol/Diaspora
2017-12-17 16:10:44 -05:00
Hypolite Petovan
a8b3a2624b
Fix Protocol\Diaspora missing user variable
2017-12-17 16:08:22 -05:00
Hypolite Petovan
5926cd534a
Add FIXME for unrecoverable missing variables
2017-12-17 15:35:38 -05:00
Hypolite Petovan
a6a2c578f9
Add new common Image::scale() method
...
- Fix undefined variable $type
2017-12-17 15:35:07 -05:00
Hypolite Petovan
910d3f7b5f
Formatting FKOauthDataStore
2017-12-17 15:34:29 -05:00
Hypolite Petovan
2978b1eef0
Fix undefined variable/wrong parameter count/unknown functions
2017-12-17 15:33:45 -05:00
Hypolite Petovan
4b5894817e
Fix class methods staticity/return value
2017-12-17 15:30:26 -05:00
Hypolite Petovan
916236ce2f
Fix docblocks types
2017-12-17 15:27:50 -05:00
Hypolite Petovan
10b72b0e9e
PHPStan: Fix missing requires/namespaces
2017-12-17 15:26:43 -05:00
Hypolite Petovan
7c470f0be9
Add Base Module class
2017-12-17 12:05:19 -05:00
Hypolite Petovan
f07776a78e
Add class module routing
2017-12-17 12:03:51 -05:00
Michael
940c8fc4cd
Bugfix for Parameter mismatch
2017-12-17 14:30:28 +00:00
Hypolite Petovan
0dbf7a2611
Remove lingering reference to group_member.uid
2017-12-16 11:50:58 -05:00
Michael Vogel
dc7bff0235
Merge pull request #4073 from MrPetovan/bug/4070-fix-user-create
...
Fix User::create return variable
2017-12-16 04:11:54 +01:00
Hypolite Petovan
d500d06a06
Fix User::create return variable
2017-12-15 20:47:10 -05:00
Hypolite Petovan
6dbd68e0cb
Remove redundant index
...
- Increase UPDATE_VERSION and DB_UPDATE_VERSION
2017-12-15 11:36:06 -05:00
Hypolite Petovan
868a84c5cc
Use INNER for group_member join
2017-12-15 08:44:00 -05:00
Hypolite Petovan
c8c7ff2a2e
Add new UNIQUE index to group_member
...
- Add new index on gid
2017-12-15 08:43:37 -05:00
Hypolite Petovan
179b311978
Remove group_member.uid
...
- Use contact.uid alternatively
- Use JOIN with group table
2017-12-14 22:47:58 -05:00
Michael
559f8b446b
Why I had coded it that way? Now it is better
2017-12-14 22:22:44 +00:00
Michael
2d7cd2daf4
"update" is enough
2017-12-14 22:18:53 +00:00
Michael
0d2087fe6e
The DBStructure class now exists
2017-12-14 21:14:02 +00:00
Michael
15d42de647
Class moved, changes applied
2017-12-14 21:13:02 +00:00
Hypolite Petovan
369fcb7bae
Merge pull request #4060 from annando/system-unavailable
...
"system_unavailable.php" is unavailable now
2017-12-13 17:01:47 -05:00
Michael
0457bd995f
"system_unavailable.php" is unavailable now
2017-12-13 21:55:19 +00:00
Michael
5a0260a10f
The Map class is now done
2017-12-13 21:38:14 +00:00
Michael
ea10a7c002
Map is moved to the new place
2017-12-13 21:37:34 +00:00
Michael
9d574f6666
Forgotten include
2017-12-13 20:58:15 +00:00
Michael
58df57df6e
msgclean.php and quoteconvert.php is now integrated into Email.php
2017-12-13 20:36:50 +00:00
Michael Vogel
f58167b000
Merge pull request #4054 from MrPetovan/bug/4041-fix-register
...
Fix registration
2017-12-13 20:01:03 +01:00
Michael
44679a73b7
Bugfix for "Call to undefined function Friendica\Network\rsatopem()"
2017-12-13 10:34:51 +00:00
Michael
785fcd5916
Missing "use" added
2017-12-13 07:09:20 +00:00
Michael
84b85e9198
Removed old include
2017-12-13 07:06:36 +00:00
Michael
74ba0c896a
The feed is now a class
2017-12-13 07:03:42 +00:00
Michael
fc55a4b9c0
The feed moved into the new location
2017-12-13 07:02:52 +00:00
Hypolite Petovan
fbf57ac98b
Replace q() by dba function in User
...
- Add relevant Exceptions
- Fix admin email checking
2017-12-12 21:07:03 -05:00
Hypolite Petovan
72641e86a8
Add new group added id return to Group::create
2017-12-12 20:52:50 -05:00
Hypolite Petovan
0afdf92ca1
Fix self-contact creation
...
- Discard useless intval()
- Add proper condition for `self`
2017-12-12 20:44:05 -05:00
Hypolite Petovan
ac3642e76f
Add Exceptions to User::create
2017-12-12 20:43:21 -05:00
Michael
48b49dbc4b
Bugfix to PR 4046: Repaired query
2017-12-10 20:12:23 +00:00
Michael Vogel
57f8496c53
Merge pull request #4046 from MrPetovan/bug/4041-fix-register
...
Move Group to src
2017-12-10 13:32:59 +01:00
Hypolite Petovan
b0fb398844
Fix order parameter for dba::select
2017-12-10 05:37:23 -05:00
Hypolite Petovan
c714ee519f
Improve additional condition
2017-12-10 01:07:48 -05:00
Hypolite Petovan
3ea9060259
Fix wrong uses of dba::select
...
- Improve negative conditions
2017-12-10 01:06:12 -05:00
Hypolite Petovan
4fe8dab08d
Remove include/group.php
2017-12-09 13:45:54 -05:00
Hypolite Petovan
abdecd2b2f
Use new Model methods for groups
2017-12-09 13:45:17 -05:00
Hypolite Petovan
fe89e7760e
Fix formatting all around
2017-12-09 13:42:02 -05:00
Hypolite Petovan
669c7dea59
Add new method from include/group in relevant Model classes
2017-12-09 13:31:00 -05:00
Michael
38d5932156
Reworked the pidfile class
2017-12-09 17:49:11 +00:00
Michael
0f149a691e
Faster credentials check
2017-12-09 12:23:15 +00:00
Michael
8db5b121ff
Prevent the running of multiple xmpp auth daemons at a time
2017-12-09 09:46:21 +00:00
Michael
14d4ffbe7a
And now for the third bugfix to PR 4036
2017-12-08 06:32:14 +00:00
Michael
0a946587b5
Second bugfix to PR 4036
2017-12-08 06:15:06 +00:00
Michael
79c841a260
Bugfix to PR 4036
2017-12-08 05:44:43 +00:00
Hypolite Petovan
d3182d93ac
Move Object\Profile to Model\Profile
2017-12-07 23:58:20 -05:00
Hypolite Petovan
bc58e8d3be
Rename Model\GlobalContact to Model\GContact
2017-12-07 23:57:56 -05:00
Hypolite Petovan
3772cf7544
Move Object\Conversation to Object\Thread
...
- Move Object\Item to Object\Post
2017-12-07 23:57:37 -05:00
Hypolite Petovan
a42595a30c
Move Object\Contact to Model\Contact
2017-12-07 23:56:12 -05:00
Hypolite Petovan
6b60b89385
Move Object\Profile to Model\Profile
2017-12-07 23:55:05 -05:00
Hypolite Petovan
3fc3e67b70
Separate Object\Photo into Model\Photo and Object\Image
...
- Renamed a bunch of functions to shorter or clearer names
2017-12-07 23:54:51 -05:00
Hypolite Petovan
79ed1568b6
Fix class Object\Item not found in Object\Post
2017-12-07 23:50:38 -05:00
Hypolite Petovan
4b0f83a12b
Finish renaming Object\Item to Object\Post
2017-12-07 23:50:38 -05:00
Michael Vogel
5747cfc79c
Revert "Move Objects to Model"
2017-12-08 05:21:51 +01:00
Michael Vogel
e437c74d0e
Merge pull request #4031 from MrPetovan/task/3878-move-objects-to-model
...
Move Objects to Model
2017-12-08 05:02:21 +01:00
Michael
a7b004a727
Commented out the functionality
2017-12-07 20:10:09 +00:00
Michael
3824ad5590
Possible fix for issue 4013
2017-12-07 19:39:55 +00:00
Hypolite Petovan
cd84bf8963
Rename Model\GlobalContact to Model\GContact
2017-12-07 09:09:28 -05:00
Hypolite Petovan
294689bf94
Move Object\Profile to Model\Profile
2017-12-07 09:05:35 -05:00
Hypolite Petovan
70d047ba8e
Move Object\Conversation to Object\Thread
...
- Move Object\Item to Object\Post
2017-12-07 09:05:23 -05:00
Hypolite Petovan
18d93cddf6
Move Object\Contact to Model\Contact
2017-12-07 09:04:24 -05:00
Hypolite Petovan
d4ca30a6db
Move Object\Profile to Model\Profile
2017-12-07 08:57:35 -05:00
Hypolite Petovan
52bddd580c
Separate Object\Photo into Model\Photo and Object\Image
...
- Renamed a bunch of functions to shorter or clearer names
2017-12-07 08:56:11 -05:00
Michael
6510df4b51
Update the public key for public contacts if the key was empty before
2017-12-07 06:51:38 +00:00
Hypolite Petovan
311af3e544
Merge pull request #4022 from annando/instances_social
...
Retrieve data about Mastodon servers
2017-12-06 15:36:22 -05:00
Adam Magness
71911a6989
Use default value
...
use the default value parameter correctly!
2017-12-06 15:25:36 -05:00
Adam Magness
3e5a518591
Undo changes to Feature
...
the evaluations were correct before.
2017-12-06 15:18:45 -05:00
Michael
925c03fda8
Retrieve data about Mastodon servers
2017-12-06 20:09:59 +00:00
Adam Magness
cadfef63c4
Update false evaluations
...
=== false and !== false to is_null where appropriate.
2017-12-06 14:57:06 -05:00
Michael
7099a54b3d
Cut and paste is always fun
2017-12-06 16:50:52 +00:00
Michael
4bf425de5d
Merge remote-tracking branch 'upstream/develop' into dbclean
2017-12-06 16:49:55 +00:00
Michael
f1f222c633
Removed unused code
2017-12-06 14:30:07 +00:00
Michael
ad5c263dbf
Reduced "dbclean" calls
2017-12-06 14:23:38 +00:00
Michael
418365b30e
DBClean now runs as long as there are entries to be deleted
2017-12-06 14:22:03 +00:00
Hypolite Petovan
75c7dc0fa0
Merge pull request #4015 from annando/archive-again
...
Don't archive "self" contacts
2017-12-05 16:38:48 -05:00
Michael
9ffde01fc1
DBClean now works with the conversation table as well
2017-12-05 21:30:38 +00:00
Michael
e5c2b7a243
Don't archive "self" contacts
2017-12-05 21:29:33 +00:00
Hypolite Petovan
a4451c7c3d
Merge pull request #4011 from annando/archive-cleanup
...
Some cleanup for archiving/unarchiving contacts
2017-12-05 07:47:44 -05:00
Adam Magness
22a3c7ad7d
remove index
...
remove unneeded index
2017-12-05 06:58:57 -05:00
Michael
115d71e841
One tab too much
2017-12-05 09:34:43 +00:00
Michael
5f9e87ea5a
Some cleanup for archiving/unarchiving contacts
2017-12-05 07:08:20 +00:00
Adam Magness
e32b4ed670
More use
...
more missing use
2017-12-04 21:18:48 -05:00
Adam Magness
f1a5560804
Use statement
...
missing use
2017-12-04 21:13:58 -05:00
Adam Magness
e997128c9f
Static
2017-12-04 21:03:39 -05:00
Adam Magness
448598495c
Static
...
remove static
2017-12-04 21:00:47 -05:00
Adam Magness
9f4be62d3d
Use statement
2017-12-04 20:30:10 -05:00
Hypolite Petovan
072edc1949
Merge pull request #4008 from zeroadam/Oauth-#3878
...
OAuth to src
2017-12-04 18:33:01 -05:00
Adam Magness
547e24b443
Review
...
updates based on review.
2017-12-04 16:33:10 -05:00
Adam Magness
2bbfc0640f
Move to Network
...
Move to network namespace. Get rid of q() and try to get used to [ ] instead of array()
2017-12-04 15:59:21 -05:00
Adam Magness
9c7b6d9d5f
Functions and Standards
...
Standards and convert to dba functions where possible.
2017-12-04 14:52:04 -05:00
Michael
a206f6d832
Only a newline
2017-12-04 19:37:36 +00:00
Michael
360e39ca5b
unmark for archival
2017-12-04 19:36:08 +00:00
Adam Magness
b991d8ff77
Separate and move classes
...
OAuth to src
2017-12-04 14:09:23 -05:00
Michael
3bb53967f4
Merge remote-tracking branch 'upstream/develop' into archive-contact
2017-12-04 19:05:53 +00:00
Michael
ca41e9154d
Archive and unarchive contacts
2017-12-04 19:04:50 +00:00
Adam Magness
4a96f7b458
Pidfile to src
...
Move pidfile to Friendica\Util namespace
2017-12-04 13:12:22 -05:00
Adam Magness
4af9616b17
Standards
...
Standards clean up.
2017-12-04 09:16:15 -05:00
Adam Magness
b1d16fbdf7
Update use statements
...
update use statements for rename to singular.
2017-12-04 09:04:36 -05:00
Adam Magness
6e5471def3
Rename to singular
...
Rename and update references. Standards and a require_once.
2017-12-04 09:01:27 -05:00
Adam Magness
2f0da29c75
Features to src
...
Move Features to class in Friendica\Content namespace. Update function calls and references.
2017-12-04 08:33:49 -05:00
Michael Vogel
2685c9bb1c
Merge pull request #4003 from MrPetovan/task/3942-move-user-to-src
...
Migrate password hashing Part 2: Move include/user to src
2017-12-04 10:32:45 +01:00
Michael
ad8c290c2b
Improved vitality check for followers, feeds and OStatus contacts
2017-12-04 06:54:08 +00:00
Hypolite Petovan
27212c7f39
Update function calls to use Model\User and Object\Contact
2017-12-03 22:29:06 -05:00
Hypolite Petovan
b0dcfc2724
Add class methods derived from include/user functions
...
- Add User::create
- Add User::sendRegisterPendingEmail
- Add User::sendRegisterOpenEmail
- Add Contact::createSelfFromUserId
2017-12-03 22:27:49 -05:00
Hypolite Petovan
4395c20679
Fix formatting and add documentation
...
- mod/register
- mod/regmod
- Model/User
- Worker/CronJobs
2017-12-03 22:15:31 -05:00
Michael
f988ed5d15
Merge remote-tracking branch 'upstream/develop' into onepoll
2017-12-03 13:45:48 +00:00
Michael
6f7510550d
NETWORK_MAIL2 was never finished, so remove it as well
2017-12-03 09:19:58 +00:00
Michael
cd55c742e8
Check Diaspora contacts, don't poll unreachable contacts too often
2017-12-03 08:59:24 +00:00
Michael
adf802474b
Zot was never really supported, so it is now removed completely
2017-12-02 21:57:39 +00:00
Michael Vogel
2ca03acb45
Merge pull request #3986 from MrPetovan/task/admin-block-list
...
Admin remote contact block list
2017-12-02 22:09:04 +01:00
Adam Magness
2b121779a6
Salmon move to src
...
Salmon class, update function name and function calls. Some standards as well.
2017-12-02 09:32:45 -05:00
Michael Vogel
b5d24b5ac3
Merge pull request #3993 from zeroadam/Email-#3878
...
Email to src
2017-12-02 13:03:43 +01:00
Hypolite Petovan
843ec842c3
Merge branch 'develop' into task/admin-block-list
2017-12-01 21:39:20 -05:00
Adam Magness
9a4e741d1a
Review Changes
...
renamed some functions and adjusted corresponding calls.
2017-12-01 21:05:06 -05:00
Adam Magness
508ce4a5be
Use Exception
...
use exception
2017-12-01 18:47:52 -05:00
Adam Magness
e90b0748aa
Code Cleanup
...
Standards clean up
2017-12-01 18:13:39 -05:00
Adam Magness
f21feb975d
Require Cleanup
...
Remove instances of require_once for email.php
2017-12-01 14:57:13 -05:00
Adam Magness
6008e3df11
Email to src
...
Create Email class and update/rename functions and function calls.
2017-12-01 14:41:27 -05:00
Hypolite Petovan
58ac3532b7
Fix undefined variables messages
2017-12-01 08:32:21 -05:00
Hypolite Petovan
ff459441cf
Merge branch 'develop' into task/admin-block-list
2017-12-01 00:48:13 -05:00
Hypolite Petovan
5fd4086fdc
Add block/unblock methods to Contact class
2017-12-01 00:41:26 -05:00
Hypolite Petovan
0ae6f571da
Merge pull request #3982 from zeroadam/Photo-#3878
...
Photo to src
2017-11-30 20:33:48 -05:00
Adam Magness
d04d2cb838
Static
...
update functions and check calls.
2017-11-30 13:51:04 -05:00
Adam Magness
cddadb4b17
Object error
...
Uncaught Error: Using $this when not in object context
2017-11-30 07:48:47 -05:00
Adam Magness
00ad255540
Replace function
...
Replace function used by addon
2017-11-30 07:40:20 -05:00
Adam Magness
7938decff3
Private to public
...
change function to public as it's called from elsewhere
2017-11-29 18:37:32 -05:00
Adam Magness
0373056448
Review and Use statements
...
use statements and review changes.
2017-11-29 17:29:11 -05:00
Michael
0982b0413b
Bugfix for "Call to undefined function best_link_url()"
2017-11-29 21:27:39 +00:00
Michael
fe348acb49
Small fixes to "nogroup"
2017-11-29 20:59:06 +00:00
Adam Magness
eb148cad55
Missed use dba
...
added use dba
2017-11-29 13:04:58 -05:00
Adam Magness
0091d318e5
Function names
...
Update function names and corresponding function calls
2017-11-29 12:17:12 -05:00
Adam Magness
54827e7fed
Photo to src
...
Move Photo to Friendica\Object namespace and replace require_once statments with use statements.
2017-11-29 07:52:27 -05:00
Michael
8bffee43b3
Threads are now always enabled.
2017-11-28 18:54:39 +00:00
Hypolite Petovan
16fb014547
Hotfix missing use dba
2017-11-27 14:03:47 -05: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
Hypolite Petovan
ced1063a10
Improved dba calls
...
- Removed intval calls
- Used boolean values for params when relevant
2017-11-27 08:17:56 -05:00
Michael
9612496e9e
The function "template_escape" doesn't exist anymore.
2017-11-27 06:44:49 +00:00
Hypolite Petovan
9ddb81ce5f
Fix function name typo
2017-11-26 15:51:07 -05:00
Hypolite Petovan
456dfbe486
Forgotten change in src/Worker/Queue.php
2017-11-26 14:56:50 -05: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
483603e77c
Add User::authenticate()
2017-11-26 14:25:25 -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
Michael
774a7193d2
Added clarification
2017-11-26 11:43:02 +00:00
Michael
abc0b90fa9
getpostsbyurl hadn't worked
2017-11-24 22:15:35 +00:00
Tobias Diekershoff
5a0f33dca0
Merge pull request #3939 from annando/fix-sql
...
Fix some SQL problems
2017-11-24 09:53:36 +01:00
Michael Vogel
adc720a7fc
Merge pull request #3938 from MrPetovan/task/3878-mov-HTTPExceptions-to-src
...
Move HTTPExceptions to src
2017-11-24 09:44:44 +01:00
Michael
4a4be4d664
Fix some SQL problems
2017-11-24 07:44:02 +00:00
Hypolite Petovan
365850f26a
Fix httpdesc to work with new namespace
2017-11-23 23:47:52 -05:00
Hypolite Petovan
b41bf77ec8
Add HTTPException class files
2017-11-23 23:40:54 -05:00
Michael Vogel
4032ad3418
Merge pull request #3935 from MrPetovan/task/3878-move-ExAuth-to-src
...
Move ExAuth class to src
2017-11-24 05:40:06 +01:00
Hypolite Petovan
fd8b9deaaf
Merge pull request #3934 from zeroadam/Contact
...
Second Contact
2017-11-23 21:01:02 -05:00
Adam Magness
9df0457340
whitespace
...
remove whitespace
2017-11-23 20:59:00 -05:00
Hypolite Petovan
40c37d76fe
Don't cache the xmpp/password PConfig value
2017-11-23 20:34:35 -05:00
Adam Magness
130e02ddef
Review
...
null_date and spaces at end of line
2017-11-23 19:22:30 -05: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
Hypolite Petovan
d5887f9f9a
Add use dba
2017-11-23 10:23:16 -05:00
Hypolite Petovan
93924ceac4
Move ExAuth class to src
...
- Move executed code to separate readStdin function
2017-11-23 09:46:04 -05:00
Adam Magness
6ea8b0441b
More Review
...
put back some q( calls and change some integer to boolean
2017-11-23 08:15:38 -05:00
Adam Magness
9409010d2d
Review dba updates
...
updates based on review comments.
2017-11-22 23:32:24 -05:00
Adam Magness
f5d682fe0a
Review updates
...
Updates based on review.
2017-11-22 23:13:12 -05:00
Adam Magness
c25578a2e2
Cleanup
...
Clean up messy commits.
2017-11-22 16:29:47 -05:00
Adam Magness
a8b6052c5a
Contact Standards
...
Some updates for Contact
2017-11-22 09:02:55 -05:00
Michael
87660ac9e6
/src is now free from old style delete queries
2017-11-22 09:14:42 +00:00
Michael
7c3fd2adb5
Some more replaced old database functions
2017-11-22 07:21:19 +00:00
Michael
d982c68d75
Cache.php is now using dba methods
2017-11-21 23:03:33 +00:00
Adam Magness
7cee150868
ForumManager to src
...
ForumManager moved to Friendica\Content namespace
2017-11-21 07:20:22 -05:00
Hypolite Petovan
2d6ee38446
Merge pull request #3925 from zeroadam/Emailer-#3878
...
Emailer to src
2017-11-20 23:53:21 -05:00
Hypolite Petovan
317d51fd53
Merge pull request #3926 from annando/worker-correction
...
Queue and GProbe should now be executed
2017-11-20 16:35:39 -05:00
Michael
0877cf862c
Queue and GProbe should now be executed
2017-11-20 21:30:57 +00:00
Adam Magness
1726ededac
Emailer to src
...
Move emailer to src Friendica\Util namespace
2017-11-20 15:37:30 -05:00
Adam Magness
2830be25ea
Formatting change
...
change multi line format.
2017-11-20 15:17:20 -05:00
Adam Magness
ddacbf2c13
XML class standards
...
updated the xml class for PSR-2
2017-11-20 12:56:31 -05:00
Adam Magness
28cceda461
Indentation
...
modified to multi line function call.
2017-11-20 11:29:55 -05:00
Adam Magness
1eb2e541f6
New from rebase
...
more adjustments after rebase
2017-11-20 11:14:35 -05:00
Adam Magness
9622dedaeb
New function
...
new function from recent develop branch merge
2017-11-20 11:01:32 -05:00
Adam Magness
1115d19f79
More Standards
...
More coding standards updates.
2017-11-20 11:01:32 -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
Hypolite Petovan
f43aaf5227
Move Item and Conversation from Core to Object
...
- Move BaseObject from Core\ to Friendica\
2017-11-19 16:50:49 -05:00
Michael
920160cb28
The poller is now the worker
2017-11-19 21:47:21 +00:00
Michael
cabfcfc904
We now are having a "scripts" folder
2017-11-19 21:21:54 +00:00
Adam Magness
8057afb039
Function call
...
this one must be coming from boot.php
2017-11-19 15:32:54 -05:00
Adam Magness
d9e9cbe753
Coding Standards
...
A few updates for coding standards
2017-11-19 15:32:54 -05:00
Michael
183999ee08
No german compound wording :-)
2017-11-19 19:47:04 +00:00
Michael
8cd21269ff
The last of the big workers moved ... delivery and notifier
2017-11-19 18:59:55 +00:00
Michael
5108115fc1
Now PubSubPublish moved as well
2017-11-19 17:36:20 +00:00
Michael
2de457489f
"CreateShadowentry" and "ProfileUpdate" now moved as well
2017-11-19 16:59:37 +00:00
Michael
98686e9091
Queue.php is now moved as well
2017-11-19 16:35:45 +00:00
Michael
501514bd54
expire and gprobe now moved as well
2017-11-19 16:25:13 +00:00
Hypolite Petovan
104a1d7fd3
Move ITemplateEngine to src
...
- Fix method name format
2017-11-19 10:22:18 -05:00
Michael
9832ac7dab
Always show dislikes - the setting now just hides the button
2017-11-19 09:55:45 +00:00
Michael
3616ff886e
Corrected class name
2017-11-19 00:14:20 +00:00
Michael
02e4cf2a02
Missing variable
2017-11-18 23:46:16 +00:00
Michael
1f28cbd2c6
And now DiscoverPoCo.php
2017-11-18 11:02:46 +00:00
Michael
925d2d2383
Directory moved
2017-11-18 07:59:30 +00:00
Michael
2515d02e6d
SpoolPost moved
2017-11-18 07:44:38 +00:00
Michael
28315ee9dd
Missing namespace
2017-11-18 07:33:44 +00:00
Michael
13f899542d
dbupdate now moved as well
2017-11-18 07:31:33 +00:00
Michael
04cc9bb4de
CronJobs moved as well
2017-11-18 06:22:41 +00:00
Michael
f2e792662f
DBClean moved as well
2017-11-18 05:45:44 +00:00
Michael
911093580b
Missing dba
2017-11-18 05:12:57 +00:00
Michael
3687ef2f8c
Another worker process moved
2017-11-17 22:16:34 +00:00
Adam Magness
0cbc4153b3
More conditions
...
Removed unneeded conditions.
2017-11-16 19:59:40 -05:00
Adam Magness
72749477ed
Remove condition
...
Remove unneeded condition.
2017-11-16 19:55:28 -05:00
Adam Magness
f96b841799
Update function call
...
missed function call change
2017-11-16 16:39:42 -05:00
Adam Magness
d127d06388
Item to src
...
object/Item moved to Friendica\Core namespace.
2017-11-16 16:39:42 -05:00
Adam Magness
7c00401c66
Conversation to src
...
object/Conversation moved to Friendica\Core namespace.
2017-11-16 16:39:42 -05:00
Adam Magness
ecd9e3e07e
BaseObject moved to src/Core
...
BaseObject moved to Friendica\Core namespace. References and function calls updated.
2017-11-16 16:39:42 -05: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
Michael
0aee6d383a
Now there are four more ...
2017-11-15 21:12:33 +00:00
Michael
33e98d6264
Moved some workers in their new habitat
2017-11-15 20:59:42 +00:00
Adam Magness
9e90589c21
gsFunctions renamed
...
gsFetchUsers -> fetchGsUsers
gsDiscover -> discoverGsUsers
2017-11-15 12:02:08 -05:00
Adam Magness
326c4a18c0
Missing Worker
...
use Friendica\Core\Worker
2017-11-15 11:51:29 -05:00
Adam Magness
790d80c9fb
Missed function call update
...
update_gcontact -> update
2017-11-15 11:49:20 -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
Michael
9576f6743d
Command back ...
2017-11-14 22:13:33 +00:00
Michael
405753d1c3
cron.php is reworked, other worker files had been moved temporarily
2017-11-14 21:50:16 +00:00
Michael
42a89b101b
CronHooks now works again.
2017-11-12 21:32:10 +00:00
Michael
476facde61
Onepoll moved as well
2017-11-12 18:50:35 +00:00
Michael
521e213e7a
I will never understand git ...
2017-11-12 07:26:04 +00:00
Michael
1aa8f56662
The cronhooks are now changed
2017-11-12 07:24:49 +00:00
Michael
06ce34eda1
The worker can now call methods in the worker namespace
2017-11-12 07:21:23 +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
Adam Magness
bc49fc974c
Capitalized XML
...
Acronym classes should be capitalized
2017-11-10 07:45:33 -05:00
Adam Magness
0226aa1f15
Spelling
...
spelling correction for simplexmlelement
2017-11-10 07:18:24 -05:00
Adam Magness
d49da294b3
Add uses
...
added DomXPath and SimpleXMLElement
2017-11-10 07:18:24 -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
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
a49901eaa2
Fix missing Crypto class error
2017-11-09 03:47:12 -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
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
cfd8ae389c
Review updates
...
changes based on review comments.
2017-11-08 20:08:42 -05:00
Adam Magness
d7dc51ecc1
Coding Standards
...
Guess who got phpcs configured.
Updated phpcs.xml based on Developer_Intro document.
2017-11-08 17:02:50 -05:00
Adam Magness
ca5d5acb7e
Another use
...
use Cache
2017-11-08 08:51:01 -05:00
Adam Magness
a307991ee5
Use more
...
More use statements based on error logs.
2017-11-08 08:37:03 -05:00
Adam Magness
d857473026
Use Statements
...
More use statements based on error logs
2017-11-08 08:37:03 -05:00
Adam Magness
3581889fbd
DFRN Update
...
missing use statement
2017-11-08 08:37:03 -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
Michael
5a6fa4ae87
Some more
2017-11-07 21:53:11 +00:00
Adam Magness
1a83b80dbd
Review Updates
...
Reverted changes made to .sql file and Errant use statement in Probe class.
2017-11-07 06:43:34 -05:00
Adam Magness
0dfa57948f
Issue-#3873
...
Replace deprecated functions with new syntax.
2017-11-07 06:24:39 -05:00
Michael
28701a8df3
Some small correction
2017-11-06 15:38:15 +00:00
Michael
4ebb76e5a6
Changed explanation
2017-11-06 15:32:34 +00:00
Michael
930309d2ec
Merge remote-tracking branch 'upstream/develop' into worker-class
2017-11-05 17:23:53 +00:00
Michael
84c3c0753e
Now we use only dba functions
2017-11-05 17:13:37 +00:00
Michael
70c08dee1d
Some more improvements
2017-11-05 15:28:55 +00:00
Hypolite Petovan
cff1de034f
Remove reference to languagedetect in library folder
2017-11-05 09:00:34 -05:00
Michael
478e363967
proc_run was replaced
2017-11-05 12:15:53 +00:00
Michael
da212a28a2
New worker class that does all the work
2017-11-05 10:33:46 +00:00
Michael
e2224a2ddc
Some Webfinger clean up
2017-10-28 11:48:29 +00:00
Michael
0b7e8b7fb4
Hubzilla doesn't return the handle in the hcard
2017-10-27 06:17:24 +00:00
Michael
c309c8bde4
Improve the way the callstack is built
2017-10-17 20:51:46 +00:00
Michael
1506886947
Bugfix: Range checking with ParseUrl made problems - we now use the standard
2017-10-15 19:29:58 +00:00
Michael
7b833834f9
Avoid basepath problems
2017-10-11 18:21:10 +00:00
Tobias Diekershoff
071946fa78
Revert "Update languagedetect library"
2017-10-05 11:58:18 +02:00
Tobias Diekershoff
c22920edba
Merge pull request #3743 from MrPetovan/task/update-languagedetect
...
Update languagedetect library
2017-10-05 08:49:17 +00:00
Michael
42a8f27034
Semaphore lock deactivated for PHP lower 5.6.1
2017-09-30 07:51:09 +00:00
Hypolite Petovan
ba1975ac3a
Remove references to the library/langdet folder
2017-09-27 22:40:58 -04:00
Michael
d72e6b2c82
Bugfix for better mail import
2017-09-23 22:53:44 +00:00
Michael
78d4386332
We are now probing differently for webfinger data
2017-09-04 19:13:33 +00:00
Michael
1cc50a80f4
Only update if there is a change
2017-08-30 19:33:16 +00:00
Michael
0083c16e87
Better updating of contacts
2017-08-30 18:05:41 +00:00
Michael
4bc2076763
Avoid warnings from probe
2017-08-29 04:51:02 +00:00
Michael
a729519de9
And some more static warnings removed
2017-08-26 10:01:50 +00:00
Michael
5adfeb0bd5
App::get_baseurl is now replaced with System::baseUrl
2017-08-26 07:32:10 +00:00
Michael
3c24bed412
New class "System"
2017-08-26 06:04:21 +00:00
Michael
c09c806f78
Probing sometimes failed / problems with some web servers
2017-08-24 07:56:46 +00:00
Michael
51dca9b034
Compatibility with pleroma added
2017-08-21 20:21:04 +00:00
Michael
6c9953809a
Improved position of "close"
2017-08-15 10:10:09 +00:00
Michael
b14b44e8a8
Merge remote-tracking branch 'upstream/develop' into dba-2
2017-08-12 07:37:06 +00:00
Michael
7052da745c
Issue 3615: Probing sometimes returned an empty "addr" field
2017-08-11 21:50:46 +00:00
Michael
99f0c01cdd
Some more changed queries
2017-08-11 16:21:55 +00:00
Michael
33b61ab262
Database connections should be closed
2017-08-10 06:33:24 +00:00
Michael
f1a57dd9c6
Avoid an error
2017-08-09 23:08:25 +00:00
Michael
03b86d3766
Now we have less than 100 insert commands, yeah
2017-08-09 23:02:57 +00:00
Michael
69a3f66d56
Just more simplyfication
2017-08-09 21:34:39 +00:00
Michael
fce72cbbc8
Modifed "update" and "insert" function / many changed queries
2017-08-09 21:12:41 +00:00
Michael
a5e7f7bf70
We don't need an order.
2017-08-09 07:57:33 +00:00
Michael
64718b53d1
Works now
2017-08-09 06:16:19 +00:00
Michael
ae8098eaf2
Config now works with the new database routines
2017-08-09 05:53:07 +00:00
rabuzarus
28eb5d57a7
fix some method names (camelcase) in Probe.php and Lock.php
2017-08-02 13:09:42 +02:00
Michael
955229e131
Fix incomplete webfinger data for OStatus
2017-07-25 21:46:14 +00:00
Michael
79fe249c54
Better use a wrapper
2017-07-22 06:43:04 +00:00
Michael
41ec057813
Avoid "Invalid argument" warning in probing.
2017-07-11 17:34:38 +00:00
Michael
363322ba78
Issue 3571 and Diaspora mail bugfix
2017-07-10 22:35:32 +00:00
Alexandre Alapetite
080da4777d
Use unset after unlock
...
https://github.com/friendica/friendica/pull/3554#issuecomment-313741392
2017-07-08 11:03:41 +02:00
Alexandre Alapetite
84972623f7
Order of semaphore processing
2017-07-07 18:26:43 +02:00
Alexandre Alapetite
329ab7d153
More general check for semaphore
2017-06-28 22:38:22 +02:00
Alexandre Alapetite
4eaa6b94a6
Hide semaphone warning
...
https://github.com/friendica/friendica/issues/3553
2017-06-28 18:38:18 +02:00
Michael
4515c36f69
Semaphore based locking and hopefully the fix for the workerqueue
2017-06-28 04:53:11 +00:00
Michael
1301a29505
It's faster without locks, gnarl ...
2017-06-12 19:20:50 +00:00
Michael
16df7715b9
Avoid locking problems in lock class
2017-06-12 15:42:54 +00:00
Michael
7d0a7f6be9
We got rid of two workerqueue queries, yeah!
2017-06-11 19:51:18 +00:00
Hypolite Petovan
9c0d2c31e8
Replace AND and OR in PHP conditions by && and ||
2017-06-07 22:00:59 -04:00
Michael
9c46971aa5
The check for blocking processes is deactivated until further checks were performed
2017-06-06 22:18:42 +00:00
Michael
e3d5dcf049
Beware of camels
2017-06-06 17:42:47 +00:00
Michael
286b2da7a9
Added documentation and renamed function
2017-06-06 17:25:28 +00:00
Michael
5dfa513b62
Only wait when you have a timout value at all
2017-06-06 04:22:18 +00:00
Michael
2b04865cdb
We found the handbrake ...
2017-06-05 22:41:33 +00:00
Michael
b86c4d539e
Locking waits now for a shorter period. DB locking is used at other locations as well
2017-06-05 14:59:53 +00:00
Michael
30b24a2908
Locking seems to work great now
2017-06-04 18:59:50 +00:00
Michael
bca5776e9c
Lock now can use the memcache as well
2017-06-04 15:59:20 +00:00
Michael
d2cb87a200
Database locks are now having its very own functions
2017-06-04 12:59:29 +00:00
Michael
5de03c1b27
Locks now work - ready to be used in the wild
2017-06-04 08:36:08 +00:00
Michael
32f61016d3
Overhauled "lock" functionality
2017-06-04 07:26:21 +00:00
Michael
21eb9a4b2e
Fixed locking behaviour for the worker
2017-06-03 07:25:01 +00:00
Michael
609649557b
Better handling of timeout issues while probing
2017-05-31 03:46:43 +00:00
Michael
a32de855cc
Don't quit if the own host cannot be reached via SSL
2017-05-29 19:14:44 +00:00
Michael
860887557a
Some more logging for the probing
2017-05-28 05:38:12 +00:00
Hypolite Petovan
471056e989
Merge pull request #3488 from annando/ptobr-no-cache
...
Probing via web frontend shouldn't use the cache.
2017-05-23 17:21:10 -04:00
Michael
07e318e991
some more logging
2017-05-23 20:19:39 +00:00
Michael
c84a2fb1a3
Bugfix ParseUrl: Only fetch a range to avoid memory issues
2017-05-23 05:26:22 +00:00
Hypolite Petovan
06ea23665c
Merge pull request #3460 from annando/1705-dbclean
...
dbclean is now using the new database functions
2017-05-12 11:45:27 -04:00
Michael
6ef24890bb
dbclean is now using the new database functions / new functions for commit, rollback and transaction
2017-05-11 20:13:45 +00:00
Hypolite Petovan
39f894bd4a
Use use
instead of \
2017-05-11 11:53:04 -04:00
Michael
f6fe11ff49
Small bugfix for PR 3454
2017-05-08 20:01:18 +00:00
rabuzarus
3d5ff8bab3
remove use of PConfig Class from Probe class because we don't use it here
2017-05-08 19:04:01 +02:00
rabuzarus
8a2ffffe71
Bugfix: correct uninitialized variables
2017-05-08 19:02:34 +02:00
rabuzarus
035c79f355
add some spaces for better readability
2017-05-08 18:28:30 +02:00
rabuzarus
8830d20ed0
rename some variables for comprehensibility
2017-05-08 18:07:06 +02:00
rabuzarus
51372bc314
improve readability
2017-05-08 17:36:04 +02:00
rabuzarus
450a4920fd
apply coding standard
2017-05-08 17:06:57 +02:00
rabuzarus
cc8a3a4101
rename methods of the Probe class to camelCase
2017-05-08 16:19:10 +02:00
Michael
52a4e09711
Don't check if basepath is writable / convert App.php to unix newlines
2017-05-08 06:11:38 +00:00
Michael
a8caeefb52
And even more global classes ...
2017-05-07 22:21:12 +00:00
Michael Vogel
d9f8fbeb4f
Merge pull request #3449 from Hypolite/improvement/move-probe-to-src
...
Hotfix: Yet more global classes to escape
2017-05-08 00:18:53 +02:00
Hypolite Petovan
f123f6df10
Yet more global classes to escape
2017-05-07 18:12:26 -04:00
Michael Vogel
6680ce1dd7
Merge pull request #3445 from Hypolite/improvement/move-probe-to-src
...
Move Probe to src
2017-05-07 23:14:22 +02:00
Hypolite Petovan
b4f2fc4e2f
Hotfix for missing Exception class
2017-05-07 15:22:11 -04:00
Hypolite Petovan
36e515ee6d
Move Probe to src
2017-05-07 14:44:30 -04:00
Hypolite Petovan
569cd459ec
Add basepath to App
2017-05-02 23:37:57 -04:00
Hypolite Petovan
3437e73ae4
Yet more standards
2017-05-02 23:37:50 -04:00
Hypolite Petovan
ce866ad39b
Remove unrecommended leading backslash for fully qualified namespaces
2017-05-02 23:37:06 -04:00
Hypolite Petovan
4b16de6d80
Fix wrong class name case
...
- Use leading backslash for non-namespace class names in App
2017-05-02 23:36:46 -04:00
Hypolite Petovan
20043914e6
Move App to src
...
- Add `use Friendica\App;` wherever needed
2017-05-02 22:59:36 -04:00
Hypolite Petovan
799e60aa62
Replace existing autoloader with Composer-supplied
...
- Move Friendica namespace to `src`
- Move required `ezyang/htmlpurifier` to vendor
- Remove existing static autoloader
- Change boot.php reference to the autoloader
2017-03-31 23:02:38 -04:00