Commit graph

726 commits

Author SHA1 Message Date
d6af08fb36 FetchUrl is not FetchURL ... 2018-01-27 23:53:56 +00:00
Hypolite Petovan
236616995b Remove references to library/openid 2018-01-27 18:28:04 -05:00
c2a9036145 OEmbed function was called with the wrong class name 2018-01-27 23:17:37 +00:00
Adam Magness
6c80a35953 type
friendica typo
2018-01-27 12:15:42 -05:00
Adam Magness
3220c78d70 Missing uses
missing uses for dom
2018-01-27 12:13:46 -05:00
Adam Magness
275a0aa140 missed function rename
missed rename zfetchurl
2018-01-27 12:05:05 -05:00
Adam Magness
9b8599b619 Move functions to system
move some functions to system
2018-01-27 11:59:10 -05:00
Adam Magness
f04d40a37e Review update
Rename function, move others
2018-01-27 11:13:41 -05:00
Adam Magness
0f1be37279 Remove old file
remove network.php and all require_once statements
2018-01-27 08:28:20 -05:00
Adam Magness
ca76e49c23 Move remaining functions
update remaining function calls
2018-01-27 08:25:54 -05:00
Adam Magness
1eb7c19c1e Move multiple functions
move multiple smaller functions
2018-01-26 23:51:41 -05:00
Adam Magness
cd3643d174 Move xml_status and http_status_exit
move functions
2018-01-26 23:37:55 -05:00
Adam Magness
a32ba32ff4 Move post_url
move post_url function
2018-01-26 23:24:23 -05:00
Adam Magness
2f9642392d Move z_fetch_url
move z_fetch_url method
2018-01-26 23:18:38 -05:00
Adam Magness
c67452f72e Move fetch_url
move fetch_url function
2018-01-26 23:09:48 -05:00
Adam Magness
1b51777825 Create Network class
Create Network class and copy methods
2018-01-26 22:51:07 -05:00
Adam Magness
fb05570c1d Create Plaintext class
create class and move shorten method
2018-01-26 20:26:49 -05:00
Adam Magness
177edd2b6e Rename class to BBCode
Rename Plaintext class to BBCode
2018-01-26 20:01:32 -05:00
Adam Magness
21881f2885 Update function calls
update to new function calls
2018-01-26 19:14:47 -05:00
Adam Magness
792f069c6e Create Plaintext class
create Plaintext class with functions from include/plaintext
2018-01-26 19:04:04 -05:00
Adam Magness
009c4d56c9 Update functions and dba
update some functions and add dba where possible
2018-01-25 11:29:43 -05:00
Adam Magness
1c7fd310d2 Create PostUpdate class
create new class and update call from worker
2018-01-25 11:29:43 -05:00
66fe4cc5d6
Merge pull request #4326 from MrPetovan/task/fix-translation-strings
Fix translation strings
2018-01-25 07:02:09 +01:00
1828f25db8 Function renamed 2018-01-24 22:22:31 +00:00
Hypolite Petovan
9cd3b17743 Fix translation strings for use with util/extract.php
- Change parentheses to “\x28” and “\x29”
- Remove leading commas
- Remove quotes before commas
2018-01-24 16:51:32 -05:00
3ace5d0d1d Some functions had been moved away from include/items.php 2018-01-24 20:27:32 +00:00
Hypolite Petovan
30c1cc0e8c
Merge pull request #4312 from zeroadam/feature/L10n
Move pgettext to src
2018-01-24 11:48:55 -05:00
19c039242c It is now possible again to like yourself 2018-01-24 06:39:21 +00:00
Adam Magness
208a149a7b Review sprintf
remove more sprintf calls
2018-01-23 21:59:16 -05:00
Hypolite Petovan
0601ba1309 Add missing dba::inArray to Addon::reload 2018-01-23 18:57:33 -05:00
3fbc873ffe Birthdays are now transmitted reliably to Diaspora 2018-01-23 22:51:30 +00:00
Adam Magness
f7e9b74dca Update function and sprintf
Update variable to static function and remove sprintf wrappers
2018-01-23 12:47:30 -05:00
Adam Magness
7158aa7ded Update variable
update based on error log
2018-01-22 22:30:45 -05:00
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
004f46e600 Standards 2018-01-21 00:18:31 +00:00
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
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
7b3e334f06 "save to folder" and "mark" can't work on global items 2018-01-18 20:54:40 +00:00
2df44eb084 Liking of your own stuff wasn't possible/enable dislike for Diaspora 2018-01-18 20:16:14 +00:00
034d46196f "last-child" is not used anymore 2018-01-18 06:54:44 +00:00
2d66242b4f The delete function is now changed to the new function 2018-01-17 23:22:01 +00:00
000e6457b4 Merge remote-tracking branch 'upstream/develop' into item-delete 2018-01-17 21:54:17 +00:00
fbb024d151 Avoid sql error in process handling 2018-01-17 14:10:30 +00:00
947a1b894f Wall postings need to be treated especially as well. 2018-01-17 14:09:24 +00:00
2df5a14ce5 Delete could work now, needs testing 2018-01-17 07:08:49 +00:00
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
3ecdbb6a59 Standards 2018-01-16 23:20:07 +00:00
63a4105a59 New item class function for delete 2018-01-16 23:16:53 +00:00
f30275f6db Oh, standards ... 2018-01-16 22:46:20 +00:00
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
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
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
de7dbdff14 Removed test output 2018-01-14 19:02:27 +00:00
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
a78cbf6174 The changed field name has to be changed here as well 2018-01-13 09:19:57 +00:00
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
b638ed9e86 Corrected function name 2018-01-12 23:43:08 +00:00
2c90c5be94 Better treatment of Oembed detection with no OEmbed data and not title 2018-01-12 23:32:58 +00:00
06751470ce Changed case 2018-01-12 23:26:55 +00:00
fc9453b7e9 Corrected field names 2018-01-12 23:20:19 +00:00
9e37b49bea copy and paste ... 2018-01-12 21:02:39 +00:00
3c027699a5 Receive participation messages and processes them 2018-01-12 20:52:43 +00:00
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
1068091bbe Add the feed link to the body when not present in the feed 2018-01-11 22:57:31 +00:00
c0eecfc55f Unbalanced html fixed 2018-01-11 22:34:56 +00:00
e18e081b47 bookmark elements weren't always parsed correctly 2018-01-11 22:28:46 +00:00
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