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