Hypolite Petovan
9e3bae5caa
Remove references to include/bbcode.php
2018-02-14 22:01:14 -05:00
Hypolite Petovan
0c52866693
Refactor bbcode() into BBCode::convert()
2018-02-14 21:33:55 -05:00
Michael
2f71a6f80f
DFRN: Bugfix for not storing mails
2018-02-14 22:08:16 +00:00
Michael
43b1eccbcd
Bugfix and improvements for unmarking potentially archived contacts
2018-02-14 21:18:16 +00:00
Hypolite Petovan
d8e9ed5ff8
[Scrutinizer] Fix undeclared variables in src/Protocol/
...
- Use dba::selectFirst to remove intermediate variables `$r`
- Remove unused variable `$sender` in Protocol\Email
- Simplify Protocol\OStatus:fetchAuthor cascading queries
2018-02-13 23:58:46 -05:00
Michael
30cfca40d8
Use a more simple HTML for API output
2018-02-10 13:33:15 +00:00
Michael
a2f172e084
Bugfix for check that the DFRN entry already exists
2018-02-09 06:20:01 +00:00
Tobias Diekershoff
85c8bf0228
Merge pull request #4399 from MrPetovan/task/3878-move-include-bbcode-to-src
...
Move include/bbcode to src/ part 1 : Everything but bbcode()
2018-02-07 07:18:39 +01:00
Michael
e609de2957
Many item calls are now isolated in a single function
2018-02-06 12:40:22 +00:00
Adam Magness
db8ef98537
Rename functions
...
rename functions from review comments
2018-02-05 12:48:22 -05:00
Adam Magness
4be49e706b
Remove requires
...
remove require_once for old file
2018-02-05 12:47:37 -05:00
Adam Magness
7ffcb25321
Update function names and calls
...
update function names and calls from other files
2018-02-05 12:47:04 -05:00
Hypolite Petovan
d75bb8e970
Rename BBCode::removeAbstract() to BBCode::stripAbstract()
2018-02-04 23:38:40 -05:00
Hypolite Petovan
010cf3b1e8
Update references to BBCode methods
...
- Resolve name conflicts with Util\Network
2018-02-04 19:26:22 -05:00
Hypolite Petovan
2a5431a59e
Rename Model\Term methods
2018-02-04 16:48:50 -05:00
Hypolite Petovan
2a486903d1
Remove references to include/tags.php
2018-02-03 23:59:31 -05:00
Hypolite Petovan
9f3acceac7
Replace references to include/tags functions
2018-02-03 23:57:47 -05:00
Hypolite Petovan
0abe4158d2
Rename Term methods ahead of the move
...
- Rename createFromItemURI() to insertFromItemFileByUri()
- Rename createFromItem() to insertFromItemFileById()
2018-02-03 22:42:31 -05:00
Hypolite Petovan
5e7285b9ba
Move Temporal::convert() to DateTimeFormat::convert()
2018-02-03 08:56:55 -05:00
Hypolite Petovan
35d06bd9eb
Add Temporal::utc() shorthand to Temporal::convert()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
8aff8a76eb
Add Temporal::utcNow()
2018-02-03 08:56:52 -05:00
Hypolite Petovan
b854905150
Move ATOM_TIME to Temporal::ATOM
2018-02-03 08:56:52 -05:00
Hypolite Petovan
dc366bf1f7
Refactor datetime_convert into Temporal::convert
...
- Changed parameter order to save space
- Refactor select_timezone into Temporal::getTimezoneSelect
- Refactor field_timezone into Temporal::getTimezoneField
2018-02-03 08:56:51 -05:00
Michael
6871481a78
Moved "limitBodySize"
2018-01-28 17:36:37 +00:00
Michael
bdbfffafea
Renamed the contact relationship functions
2018-01-28 17:26:39 +00:00
Michael
7b27dda784
Most functions now moved from include/items.php
2018-01-28 11:18:08 +00:00
Adam Magness
f04d40a37e
Review update
...
Rename function, move others
2018-01-27 11:13:41 -05:00
Adam Magness
ca76e49c23
Move remaining functions
...
update remaining function calls
2018-01-27 08:25:54 -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
Michael
1828f25db8
Function renamed
2018-01-24 22:22:31 +00:00
Michael
3ace5d0d1d
Some functions had been moved away from include/items.php
2018-01-24 20:27:32 +00:00
Adam Magness
208a149a7b
Review sprintf
...
remove more sprintf calls
2018-01-23 21:59:16 -05:00
Adam Magness
f0725ae384
Hopefully all t()
...
hopefully the last of the t()
2018-01-22 18:03:26 -05:00
Michael
efa8dbcfb3
Relocate functions in items.php into several classes
2018-01-20 23:52:54 +00: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
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
034d46196f
"last-child" is not used anymore
2018-01-18 06:54:44 +00: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
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
dc175b8e12
Update functions and calls
...
Change function names, calls and use dba functions.
2018-01-10 12:05:20 -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
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
9e6bf79380
Crypto to src
...
move Crypto to src and Friendica\Util namespace
2017-12-30 11:51:49 -05:00
Hypolite Petovan
e16852c2f5
Replace init_groups_visitor with Group::getIdsByContactId
2017-12-29 21:55:12 -05:00
Michael
fba40b8761
Removed unneeded code
2017-12-21 08:58:36 +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
Hypolite Petovan
2978b1eef0
Fix undefined variable/wrong parameter count/unknown functions
2017-12-17 15:33:45 -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
bc58e8d3be
Rename Model\GlobalContact to Model\GContact
2017-12-07 23:57:56 -05:00
Hypolite Petovan
a42595a30c
Move Object\Contact to Model\Contact
2017-12-07 23:56:12 -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
Michael Vogel
5747cfc79c
Revert "Move Objects to Model"
2017-12-08 05:21:51 +01:00
Hypolite Petovan
cd84bf8963
Rename Model\GlobalContact to Model\GContact
2017-12-07 09:09:28 -05:00
Hypolite Petovan
18d93cddf6
Move Object\Contact to Model\Contact
2017-12-07 09:04:24 -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
Adam Magness
0373056448
Review and Use statements
...
use statements and review changes.
2017-11-29 17:29:11 -05:00
Adam Magness
0091d318e5
Function names
...
Update function names and corresponding function calls
2017-11-29 12:17:12 -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
Adam Magness
ddacbf2c13
XML class standards
...
updated the xml class for PSR-2
2017-11-20 12:56:31 -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
Michael
8cd21269ff
The last of the big workers moved ... delivery and notifier
2017-11-19 18:59:55 +00:00
Adam Magness
cd12de46f8
OStatus moved to src
...
OStatus moved to Friendica\Protocol namespace. References and function calls updated.
Related to #3878
2017-11-15 23:09:11 -05:00
Adam Magness
259f91caa9
PortableContact created
...
Create PortableContact and remove socgraph, update references, and calls
2017-11-15 10:53:16 -05:00
Adam Magness
47db624105
GlobalContact created
...
Moved DirSearch and GlobalContact related functions to Friendica\Model namespace
2017-11-15 09:47:49 -05:00
Adam Magness
bc49fc974c
Capitalized XML
...
Acronym classes should be capitalized
2017-11-10 07:45:33 -05:00
Adam Magness
f245bc8359
Move xml to namespace
...
Relocate xml from include to src
Related to #3878
2017-11-10 07:18:24 -05:00
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
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