Commit graph

843 commits

Author SHA1 Message Date
Adam Magness
f0725ae384 Hopefully all t()
hopefully the last of the t()
2018-01-22 18:03:26 -05:00
Adam Magness
83f1149d04 More missing t()
update t() calls
2018-01-22 18:03:26 -05:00
Adam Magness
b4d0df18c5 Remove old file and requires
Remove pgettext.php and remove require_once calls
2018-01-22 18:03:26 -05:00
Adam Magness
07d306aa37 Finish t() for src
Update t() calls in src folder
2018-01-22 18:03:26 -05:00
Adam Magness
3b0f69599e Updat tt() calls
update function calls for tt()
2018-01-22 18:03:26 -05:00
Adam Magness
d49f986d1e Many t() calls
modify many t() calls.
2018-01-22 18:03:26 -05:00
Adam Magness
45f8000ba5 Functions and Calls
finish the other functions before returning to t() and tt()
2018-01-22 18:03:26 -05:00
Adam Magness
c8ecc31405 Update functions and calls
Update function names and calls.
2018-01-22 18:03:26 -05:00
Adam Magness
417b32c881 Create L10n class
Create L10n class and functions from pgettext.php
2018-01-22 18:03:26 -05:00
Hypolite Petovan
4fb24d4ebb Make the user.legacy_password field boolean 2018-01-22 07:48:30 -05:00
Hypolite Petovan
b0a764b14c Use password_hash() for passwords
- Use legacy_password to update double-hashed passwords
2018-01-20 22:29:03 -05:00
Hypolite Petovan
c53c2fffa5 [database] Add user.legacy_password field 2018-01-20 22:24:58 -05:00
Hypolite Petovan
986e22d9e1
Merge pull request #4292 from annando/reduce-items.php
Relocate functions in items.php into several classes
2018-01-20 20:24:42 -05:00
Michael
004f46e600 Standards 2018-01-21 00:18:31 +00:00
Michael
efa8dbcfb3 Relocate functions in items.php into several classes 2018-01-20 23:52:54 +00:00
Hypolite Petovan
0888f51b4b Add password reset request expiration
- Change password reset link to /lostpass/[pwdreset]
2018-01-20 18:15:55 -05:00
Hypolite Petovan
391c591322 Add pwdreset_time field to user table 2018-01-20 18:06:58 -05:00
Hypolite Petovan
209c43ebbc Centralize password hashing in Model\User 2018-01-20 17:32:24 -05:00
Michael
7be49d9411 Don't delete - but only mark as deleted 2018-01-20 22:16:43 +00:00
Adam Magness
5d03735238 Update hook names
update hook names and other plugin references.
2018-01-20 08:22:18 -05:00
Adam Magness
b86b04a81a Change plugin to addon
change the use of plugin to addon where appropriate.
2018-01-20 07:48:22 -05:00
Adam Magness
6c4c567319 Remove require
remove require_once for plugins.php
2018-01-20 07:48:22 -05:00
Adam Magness
d07536e032 Update Theme functions and calls
Update function names and calls for Theme class.
2018-01-20 07:48:22 -05:00
Adam Magness
11cf36105c Update Addon functions and calls
Update function names and calls for Addon class.
2018-01-20 07:48:22 -05:00
Adam Magness
213f6ae1a1 Create Addon and Theme classes
Create Addon and Theme classes and functions from plugin.php to appropriate class.
2018-01-20 07:48:22 -05:00
Hypolite Petovan
98344a9d08 Remove reference to RINO version 2 2018-01-19 12:06:09 -05:00
Hypolite Petovan
2c284f30c2 Revert bumping the site RSA key strength to 2048 2018-01-19 11:58:26 -05:00
Hypolite Petovan
dd07c47ab2 Code cleanup in Protocol\DFRN
- Remove commented out code
- Fix mixed quote style
2018-01-19 11:50:43 -05:00
Hypolite Petovan
035394cbf2 RINO code cleanup
- Restore original use Friendica\Util\Crypto
- Remove RINO1 deprecation comments
- Fix undefined variable $rino_remote_version
2018-01-19 11:34:56 -05:00
Hypolite Petovan
5bc7f4a442 Remove RINO2 and RINO3 2018-01-19 11:27:53 -05:00
Hypolite Petovan
cadf8c5e5d Bump new users RSA key strength 2018-01-19 11:27:53 -05:00
Hypolite Petovan
7af6cc8454 Add RINO version 3 encrypt/decrypt
- Add legacy decrypt of RINO2
- Add fallback to RINO1 to encrypt
2018-01-19 11:27:53 -05:00
Michael
7b3e334f06 "save to folder" and "mark" can't work on global items 2018-01-18 20:54:40 +00:00
Michael
2df44eb084 Liking of your own stuff wasn't possible/enable dislike for Diaspora 2018-01-18 20:16:14 +00:00
Michael
034d46196f "last-child" is not used anymore 2018-01-18 06:54:44 +00:00
Michael
2d66242b4f The delete function is now changed to the new function 2018-01-17 23:22:01 +00:00
Michael
000e6457b4 Merge remote-tracking branch 'upstream/develop' into item-delete 2018-01-17 21:54:17 +00:00
Michael
fbb024d151 Avoid sql error in process handling 2018-01-17 14:10:30 +00:00
Michael
947a1b894f Wall postings need to be treated especially as well. 2018-01-17 14:09:24 +00:00
Michael
2df5a14ce5 Delete could work now, needs testing 2018-01-17 07:08:49 +00:00
Michael
32c1c04a1c Merge remote-tracking branch 'upstream/develop' into item-delete 2018-01-17 06:12:11 +00:00
Hypolite Petovan
c1c9a829fa Add missing include in Model\Process 2018-01-17 00:17:58 -05:00
Hypolite Petovan
f193f01a7d Fix issues in changed files
- Initializes $return in Process::insert
- Update the type hint of dba::fetch
- Remove unused $a parameter in worker_init()
- Fix uses
2018-01-17 00:17:58 -05:00
Hypolite Petovan
ad88b6e3af Fix issues in App.php
- Fix formatting
- Add method visibility
- Remove unused properties
- Remove unused methods
- Remove unused parameters
- Fix implode parameter order (?!)
2018-01-17 00:17:58 -05:00
Hypolite Petovan
78ac7afe9c Move process functions to Model\Process
- Add start|endProcess functions to Core\Worker
2018-01-17 00:17:58 -05:00
Michael
3ecdbb6a59 Standards 2018-01-16 23:20:07 +00:00
Michael
63a4105a59 New item class function for delete 2018-01-16 23:16:53 +00:00
Michael
f30275f6db Oh, standards ... 2018-01-16 22:46:20 +00:00
Michael
c4d3ab6878 Transfer all item shadow functions to the item class 2018-01-16 22:23:19 +00:00
Hypolite Petovan
0c4d7cd1a1
Merge pull request #4258 from zeroadam/BugFixQueue-#4256
Fix class name issue
2018-01-16 09:04:43 -05:00
Adam Magness
5d8f798ef7 Fix class name issue
use Model\Queue as QueueModel and update function calls.
2018-01-16 08:49:08 -05:00
Sandro Santilli
032c87d718 Do not "pollute" global namespace with LightOpenID symbol 2018-01-16 13:11:38 +01:00
Sandro Santilli
6bc096b150 Fix LightOpenID usage
otherwise failing with:
PHP Fatal error: Class 'Friendica\\Module\\LightOpenID' not found in src/Module/Login.php on line 68
2018-01-16 10:48:59 +01:00
Adam Magness
920a9b9b12 Remove requires
remove require_once statements
2018-01-15 20:16:14 -05:00
Adam Magness
33ac7a529f Update functions and calls
update function names and calls
2018-01-15 20:12:07 -05:00
Adam Magness
a5b3f4b2ba Create Queue class
Create queue class and functions from queue_fn.php
2018-01-15 19:28:39 -05:00
Adam Magness
246e673659 Review updates 2018-01-15 17:42:12 -05:00
Adam Magness
bb08f87bba Remove old file
remove include/nav.php
2018-01-15 17:12:39 -05:00
Adam Magness
bd63a36269 use dba
add use dba
2018-01-15 17:09:06 -05:00
Adam Magness
0f546f7f0f Update functions and calls
Update function names and scope. update calls.
2018-01-15 17:09:06 -05:00
Adam Magness
ac317060fb Create Nav class
create nav class and function from include/nav.php
2018-01-15 17:09:06 -05:00
Hypolite Petovan
e36f2bb1fb Use short form array syntax everywhere
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Adam Magness
8c878a7ad3 Remove indexes
remove [0] from selectFirst objects
2018-01-15 12:37:44 -05:00
Adam Magness
1bea697fb8 Replace integers
put integers back where booleans
2018-01-15 12:28:07 -05:00
Adam Magness
753996c86f Fix backticks
backtick to single quote in dba calls
2018-01-15 12:23:18 -05:00
Adam Magness
b3e6a1d283 Update functions and calls
Update functions and calls.
2018-01-15 12:14:09 -05:00
Adam Magness
d5623d28d5 Create Mail class
create mail class and functions from include/message.php
2018-01-15 11:43:25 -05:00
Hypolite Petovan
46bf82eeb7
Merge pull request #4247 from zeroadam/ProfileSel-#3878
Move profile_selector to src
2018-01-15 11:34:35 -05:00
Adam Magness
309ea7e7a4 Review updates
update array to short form syntax
2018-01-15 11:33:02 -05:00
Hypolite Petovan
145dc37a53 Add use dba to Content\Widget 2018-01-15 10:39:27 -05:00
Adam Magness
f53e54c705 Update functions and calls
Update function name and calls.
2018-01-15 10:15:00 -05:00
Adam Magness
700eca70a9 Functions to ContactSelector
put function in ContactSelector class
2018-01-15 10:08:47 -05:00
Adam Magness
6cf6029ff5 Rename functions and calls
Rename functions and update calls
2018-01-15 09:50:06 -05:00
Adam Magness
0409aae719 Create Widget class
create widget class in Friendica/Content.
2018-01-15 09:22:01 -05:00
Adam Magness
a80705a836 Function calls
Rename function, update calls
2018-01-15 08:32:11 -05:00
Adam Magness
8e5e603008 Create mimetype class
move attach.php function to mimetype class
2018-01-15 08:30:12 -05:00
Hypolite Petovan
35d334dd26
Merge pull request #4240 from annando/sql-definition
SQL structure had changed
2018-01-15 07:37:13 -05:00
Hypolite Petovan
cb612c712d
Merge pull request #4237 from zeroadam/Profile-#3878
Move identity to src
2018-01-15 07:32:30 -05:00
Michael
5d03eb3dae Some SQL servers report different lengths for unsigned types 2018-01-15 07:42:05 +00:00
Michael Vogel
0e3fe14024
Merge pull request #4235 from MrPetovan/task/4116-remove-library-oauth2
Delete unused library/oauth2-php library
2018-01-15 07:33:26 +01:00
Adam Magness
430bd7c6ac Review updates
Update function name, descriptive variable names.
2018-01-14 23:44:39 -05:00
Adam Magness
4fb2547df8 Update function calls
update function calls to use profile class
2018-01-14 21:22:39 -05:00
Adam Magness
4cfa46186a Move include/identity to src
Copy functions from identity to Profile class
2018-01-14 20:13:02 -05:00
Hypolite Petovan
04481087a9 Delete unused library/oauth2-php library 2018-01-14 19:33:47 -05:00
Hypolite Petovan
fabbf810b0 Move library/markdown.php to src 2018-01-14 19:01:09 -05:00
Hypolite Petovan
9babf0befd
Merge pull request #4234 from annando/participation-2
On participation send all the old content of the thread
2018-01-14 18:57:05 -05:00
Michael
b7022963f3 On participation send all the old content of the thread 2018-01-14 22:53:00 +00:00
Hypolite Petovan
64e3dbfaa4
Merge pull request #4225 from zeroadam/UserImport-#3878
Move include/uimport to src
2018-01-14 17:21:26 -05:00
Hypolite Petovan
b3c304c210
Merge pull request #4229 from annando/database
Reworked and unified database structure, added comments
2018-01-14 17:16:20 -05:00
Adam Magness
8be6989bd1 Review updates
self:: const and fix up callback function and array_walk
2018-01-14 15:56:36 -05:00
Michael
de7dbdff14 Removed test output 2018-01-14 19:02:27 +00:00
Michael
fabe79a798 Reworked and unified database structure, added comments 2018-01-14 15:13:00 +00:00
Hypolite Petovan
39c036e6ba Fix implode Warning in Diaspora 2018-01-14 09:05:06 -05:00
Adam Magness
e70e48abaa constant
move define to const
2018-01-13 13:10:14 -05:00
Adam Magness
9e81d3dc40 Attempt anonymous
Try anonymous function based on review suggestion.
2018-01-13 13:08:18 -05:00
Adam Magness
771163e860 Move auto_redir function
move function into dfrn, rename and update a db insert
2018-01-13 09:36:21 -05:00
Adam Magness
c1baa5ed7d Update functions
Update function names and calls. update database functions to dba class calls.
2018-01-13 09:14:37 -05:00
Adam Magness
f5d2b83938 Create UserImport
Create new class and copy over functions
Add missed function
2018-01-13 09:01:32 -05:00
Michael
a78cbf6174 The changed field name has to be changed here as well 2018-01-13 09:19:57 +00:00
Michael
ed9c50ea2e Merge remote-tracking branch 'upstream/develop' into receive_participation 2018-01-13 00:18:41 +00:00
Michael Vogel
70942202c0
Merge pull request #4216 from MrPetovan/bug/4173-fix-oembed-iframe-url
Fix link attachment display
2018-01-13 00:45:32 +01:00
Michael
b638ed9e86 Corrected function name 2018-01-12 23:43:08 +00:00
Michael
2c90c5be94 Better treatment of Oembed detection with no OEmbed data and not title 2018-01-12 23:32:58 +00:00
Michael
06751470ce Changed case 2018-01-12 23:26:55 +00:00
Michael
fc9453b7e9 Corrected field names 2018-01-12 23:20:19 +00:00
Michael
9e37b49bea copy and paste ... 2018-01-12 21:02:39 +00:00
Michael
3c027699a5 Receive participation messages and processes them 2018-01-12 20:52:43 +00:00
Tobias Diekershoff
61bdb7c1d6 sray X cauing PHP errors 2018-01-12 06:55:14 +01:00
Hypolite Petovan
77c1251d03 Fallback to regular attachment display on oembed error 2018-01-11 22:34:02 -05:00
Michael
1068091bbe Add the feed link to the body when not present in the feed 2018-01-11 22:57:31 +00:00
Michael
c0eecfc55f Unbalanced html fixed 2018-01-11 22:34:56 +00:00
Michael
e18e081b47 bookmark elements weren't always parsed correctly 2018-01-11 22:28:46 +00:00
Michael
a7b2db5db9 When no OEmbedding is wanted, the links are now created fine again 2018-01-11 21:31:44 +00:00
Hypolite Petovan
ed2ac8dc03 Fix formatting in NotificationsManager and Model\Contact 2018-01-11 03:43:57 -05:00
Hypolite Petovan
5fc4927764 Improve dba::selectFirst calls
- Fix remaining $r[0] references
- Rename $r to meaningful names
2018-01-11 03:43:57 -05:00
Michael Vogel
465e1d6a5c
Merge pull request #4191 from MrPetovan/bug/4173-fix-oembed-iframe-url
Fix oembed iframe url for Facebook attachments
2018-01-11 08:11:01 +01:00
Hypolite Petovan
3f078d81ce Fix selectFirst usage in Model\Contact 2018-01-10 20:13:51 -05:00
Hypolite Petovan
da9523ed23 Add maxwidth column to oembed table
- Match Caching key for OEmbed queries
2018-01-10 19:25:08 -05:00
Hypolite Petovan
47e0900220
Merge pull request #4202 from rabuzarus/20180110_-_init_app_in_sessionAuth
Bugfix: getApp() in sessionAuth()
2018-01-10 19:14:44 -05:00
rabuzarus
1bce1b57eb convert line endings 2018-01-11 01:06:00 +01:00
Michael
fa9b7a4dcc Issue 4200: Adding new contacts not possible 2018-01-10 22:56:06 +00:00
rabuzarus
d123a6523d I shouldn't try to code today 2018-01-10 23:18:04 +01:00
rabuzarus
b1ae8151c2 fix a silly mistake 2018-01-10 22:57:27 +01:00
rabuzarus
4d5581a9d1 use self::getApp()->contact 2018-01-10 22:39:42 +01:00
rabuzarus
186b6330b9 Bugfix: getApp() in sessionAuth() 2018-01-10 22:21:22 +01:00
Michael Vogel
d23c1c0da7
Merge pull request #4194 from MrPetovan/task/fix-scrutinizer-issues
Replace dba::select(limit => 1) by dba::selectFirst()
2018-01-10 22:16:02 +01:00
Hypolite Petovan
b007f586dd
Merge pull request #4201 from annando/commenting-on-tags
Commenting on postings from tags on the network page does work now
2018-01-10 16:13:53 -05:00
Michael
0ef83b2383 Commenting on postings from tags on the network page does work now 2018-01-10 21:08:23 +00:00
Hypolite Petovan
1fda0ae4ae Replace select(limit => 1) by selectFirst() in Model\Term and include/enotify
- Add new array declaration syntax
- Add braces
2018-01-10 13:04:00 -05:00
Hypolite Petovan
ae66bcaff3 Rename selectOne to selectFirst 2018-01-10 12:57:21 -05:00
Hypolite Petovan
da60893590 Replace dba::select(limit => 1) by dba::selectOne
- Convert array declarations to new style
2018-01-10 12:57:21 -05:00
Adam Magness
594461189b Review updates
require_once, foreach braces, new line EOF, and remove unneeded function.
2018-01-10 12:51:51 -05:00
Adam Magness
483c4e3803 selectFirst
dba::selectFirst hasn't been merged yet!
2018-01-10 12:08:56 -05:00
Adam Magness
dc175b8e12 Update functions and calls
Change function names, calls and use dba functions.
2018-01-10 12:05:20 -05:00
Adam Magness
55ee9a1c72 Move files to src
Move files.php and create Term class
2018-01-10 11:46:05 -05:00
Hypolite Petovan
3f3e1c78dd
Merge pull request #4193 from annando/item-unification
We now are using a single function to store items
2018-01-10 09:11:36 -05:00
Adam Magness
1f1a16b6b2 Review Updates
Remove unused function. Add function headers.
2018-01-10 07:14:45 -05:00
Adam Magness
a3ef9e35ec Update functions and calls
Update function names and calls.
2018-01-09 22:42:04 -05:00
Adam Magness
300b1b6af8 Move contact_selectors to src
Create ContactSelector class
2018-01-09 21:56:05 -05:00
Michael
bbd9d587c7 Return the number of affected rows 2018-01-09 22:16:16 +00:00
Michael
81925e3730 We now are having an item class and a method to change item entries 2018-01-09 21:13:45 +00:00
Adam Magness
5358f5742e Rename create
rename create function to createFromProbe and update calls.
2018-01-09 11:40:25 -05:00
Adam Magness
c81e83c500 Review changes
Update update and new functions to updateFromProbe and create. Update calls to renamed functions.
2018-01-09 11:23:26 -05:00
Adam Magness
b72cfaf828 update use
update useings and self
2018-01-09 10:02:53 -05:00
Adam Magness
a59ab5552e Includes and calls
Remove includes and update function calls
2018-01-09 09:59:52 -05:00
Adam Magness
edfb08a779 Update new function
update function name and statements
2018-01-09 09:48:31 -05:00
Adam Magness
fd1515eff4 Update function
Update the update function
2018-01-09 09:44:22 -05:00
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