Hypolite Petovan
eef25a3259
Move contact_selector()
2018-03-02 18:40:08 -05:00
Hypolite Petovan
e2de86de46
Update references in acl_selectors to new functions
2018-03-02 18:40:08 -05:00
1be5275eef
Some more performance measuring for database stuff
2018-03-02 13:37:49 +00:00
Hypolite Petovan
4fe1d804ab
Merge pull request #4511 from annando/no-activity
...
Only show visible activities
2018-02-27 04:41:12 -05:00
74ff36eee9
Only show visible activities
2018-02-27 09:29:11 +00:00
20368cbbf4
Fix for network update (number of maximum comments set to 0)
2018-02-26 22:15:57 +00:00
d2728cad2e
Children for the network page are now fetched correctly in the conversation
2018-02-26 06:38:27 +00:00
a1eb5a584f
Improve the queries on the network page
2018-02-25 21:33:15 +00:00
a59796d1d4
No gcontact-id anymore (It wasn't really used)
2018-02-21 05:15:55 +00:00
a3af6807ac
Improved resource id creation
2018-02-20 10:02:07 +00:00
Hypolite Petovan
e2d8c80f33
Revert "Fix PHP Warning: preg_replace(): Compilation failed in include/items"
2018-02-16 11:12:41 -05:00
Hypolite Petovan
31831b9fdb
Remove partial preg_quote in include/items
2018-02-16 00:31:32 -05:00
Hypolite Petovan
f4d76d10b2
Fix PHP Warning: preg_replace(): Compilation failed in include/items
2018-02-15 22:13:45 -05:00
Hypolite Petovan
71cb1523d5
Remove include/bbcode.php
2018-02-14 22:05:16 -05:00
Hypolite Petovan
9e3bae5caa
Remove references to include/bbcode.php
2018-02-14 22:01:14 -05:00
Hypolite Petovan
05a2ea4220
Refactor comments including "bbcode()"
2018-02-14 22:00:43 -05:00
Hypolite Petovan
4e4f5862b2
Remove unused $preserve_nl parameter from bb2diaspora()
2018-02-14 21:45:41 -05:00
Hypolite Petovan
0c52866693
Refactor bbcode() into BBCode::convert()
2018-02-14 21:33:55 -05:00
Hypolite Petovan
29f5270313
Remove unused parameter preserve_nl in BBCode::convert
2018-02-14 21:31:28 -05:00
rabuzarus
5fe7a21482
add $no_photos parameter to add_page_info_data()
2018-02-12 03:56:20 +01:00
rabuzarus
26fd6b1c33
fix undeclared variables or wrong variable names (/include)
2018-02-11 22:13:29 +01:00
30cfca40d8
Use a more simple HTML for API output
2018-02-10 13:33:15 +00:00
ee7c587693
Suppress content from hidden or blocked contacts
2018-02-10 12:34:10 +00:00
Hypolite Petovan
164f4f7cdf
Merge pull request #4424 from annando/manage-admin
...
We can now delegate again like before
2018-02-08 21:41:51 -05:00
Hypolite Petovan
6f9c66b0bc
Add missing require in include/text
2018-02-08 19:59:34 -05:00
d42f86e218
We can now delegate again like before
2018-02-08 22:18:34 +00:00
c953784945
Forgotten "use"
2018-02-07 20:22:40 +00:00
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
1ec6359faa
Duplicate check
2018-02-06 16:44:48 +00:00
e609de2957
Many item calls are now isolated in a single function
2018-02-06 12:40:22 +00:00
Hypolite Petovan
a0cdd9c674
Rename Core\Network to Core\Protocol
2018-02-05 12:57:41 -05:00
Adam Magness
8906b98426
Remove old file
...
remove old file
2018-02-05 12:47:37 -05:00
Adam Magness
4be49e706b
Remove requires
...
remove require_once for old file
2018-02-05 12:47:37 -05:00
Michael Vogel
fa95911fdb
Merge pull request #4393 from MrPetovan/task/3878-move-include-tags-to-src
...
Move include/tags to src/
2018-02-05 18:11:29 +01:00
Hypolite Petovan
8b60cffcb5
Remove most moved functions from include/bbcode
2018-02-04 19:26:22 -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
b4651870db
Add references to new methods and constants in include/bbcode
...
- Remove all private callback functions from include/bbcode
2018-02-04 19:25:22 -05:00
Hypolite Petovan
2a5431a59e
Rename Model\Term methods
2018-02-04 16:48:50 -05:00
Michael Vogel
dad58e0f6f
Merge pull request #4387 from MrPetovan/task/3878-move-datetime-to-src
...
Move include/datetime to src/ - Part 2
2018-02-04 21:05:27 +01:00
Hypolite Petovan
fd76b15638
Add is_null check
2018-02-04 08:58:29 -05:00
Hypolite Petovan
ef77a772e5
Remove include/tags.php
2018-02-04 00:00:11 -05:00
Hypolite Petovan
2a486903d1
Remove references to include/tags.php
2018-02-03 23:59:31 -05:00
Hypolite Petovan
d00c6111fd
Replace include/tags function content with references to src methods
2018-02-03 23:52:36 -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
3dda70baf1
Add system.dlogip setting usage in dlogger()
2018-02-03 21:46:28 -05:00
Hypolite Petovan
6b50c42de6
Actually delete include/datetime.php
2018-02-03 20:47:37 -05:00
Hypolite Petovan
d037300d3b
Remove include/datetime.php
2018-02-03 20:47:37 -05:00
Hypolite Petovan
f020292408
Remove references to include/datetime
2018-02-03 20:47:37 -05:00
Hypolite Petovan
cea80c78e4
Replace remaining functions in include/datetime by Temporal methods
...
- Fix uses statements
2018-02-03 20:47:37 -05:00
Hypolite Petovan
876acd68a0
Merge branch 'develop' into task/3878-move-session-to-src
2018-02-03 11:59:43 -05:00
e5a5a7dc7b
Merge pull request #4386 from MrPetovan/task/3878-move-friendica_smarty-to-src
...
Move SMARTY3_TEMPLATE_FOLDER to FriendicaSmarty
2018-02-03 17:01:30 +01:00
Hypolite Petovan
5e7285b9ba
Move Temporal::convert() to DateTimeFormat::convert()
2018-02-03 08:56:55 -05:00
Hypolite Petovan
b7a7355292
Simplify include/bb2diaspora event format
2018-02-03 08:56:53 -05:00
Hypolite Petovan
0bee706e51
Add Temporal::local() shorthand for Temporal::convert()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
25954314ec
Add missing Temporal::utc()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
a2ee2b56d2
Add Temporal::localNow() shorthand for Temporal::convert()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
89602e44da
Add Temporal::timezoneNow() shorthand for Temporal::convert()
2018-02-03 08:56:53 -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
38ff1b455b
Add Temporal::MYSQL constant
...
- Rename Temporal::convert() parameter names
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
Hypolite Petovan
d478ef6c6d
Add Util\Temporal to src
...
- Map include/datetime functions to Temporal methods
- Move update_contact_birthdays() to Model\Contact::updateBirthdays()
2018-02-03 08:56:51 -05:00
Hypolite Petovan
7be49913d4
Remove get_template_file function
2018-02-03 08:52:55 -05:00
Hypolite Petovan
87b19dd9ac
Remove include/session file
2018-02-03 08:40:18 -05:00
Hypolite Petovan
99eb696386
Remove include/friendica_smarty
2018-02-02 07:46:13 -05:00
Hypolite Petovan
65713f26f4
Remove references to include/friendica_smarty
2018-02-02 07:46:13 -05:00
Hypolite Petovan
1ef02bd36b
Remove include/like
2018-02-01 14:17:31 -05:00
Hypolite Petovan
974539913c
Remove include/like references
2018-02-01 14:17:22 -05:00
Hypolite Petovan
a286e8bf3b
Replace do_like() calls
2018-02-01 14:17:08 -05:00
Hypolite Petovan
d1001bf158
Replace do_like() content
2018-02-01 14:14:27 -05:00
03aafa8228
Public commenting is now always enabled
2018-01-31 23:22:41 +00:00
9cbc4a7355
Basic forum support for Diaspora
2018-01-30 06:22:09 +00:00
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
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
177edd2b6e
Rename class to BBCode
...
Rename Plaintext class to BBCode
2018-01-26 20:01:32 -05:00
Adam Magness
c437b0c871
Remove old file
...
remove include/plaintext.php
2018-01-26 19:16:26 -05:00
Adam Magness
11c7441e94
Remove requires
...
remove require_once statements
2018-01-26 19:15:57 -05:00
Adam Magness
21881f2885
Update function calls
...
update to new function calls
2018-01-26 19:14:47 -05:00
cd7b81afd5
Use "sup" instead of "h5" for the link to the website
2018-01-26 13:27:16 +00:00
Adam Magness
5951ceeb6f
Remove old file
...
remove include/post_update.php
2018-01-25 11:29:43 -05:00
Hypolite Petovan
9ab55181ed
Merge pull request #4331 from annando/other-hashtags
...
Support for hashtags with "#" inside the link (mastodon style?)
2018-01-25 10:02:04 -05:00
8abc4d25b4
Support for hashtags with "#" inside the link (mastodon style?)
2018-01-25 14:58:10 +00:00
66fe4cc5d6
Merge pull request #4326 from MrPetovan/task/fix-translation-strings
...
Fix translation strings
2018-01-25 07:02:09 +01:00
Hypolite Petovan
49b7a830dc
Merge pull request #4324 from annando/items-rework
...
Some functions had been moved away from include/items.php
2018-01-24 17:25:36 -05: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
1294ac19c8
Issue 4227: Make hash tags always local links
2018-01-24 21:37:12 +00: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
Adam Magness
df7bdbfc66
More missed calls
...
missed t() calls
2018-01-24 10:19:58 -05:00
Adam Magness
428a22cc76
More sprintf
...
eliminate more sprintf( with L10n
2018-01-24 07:18:21 -05:00
Adam Magness
8eecad4c7f
String correction
...
monthly is monthly
2018-01-23 22:43:22 -05:00
Adam Magness
5142e65726
Review updates
...
improve a t() call and move some to tt()
2018-01-23 22:38:47 -05:00
Adam Magness
c28f886179
Avoid branch conflict
2018-01-23 22:03:57 -05:00
Adam Magness
208a149a7b
Review sprintf
...
remove more sprintf calls
2018-01-23 21:59:16 -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
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
bae725c279
Security t()
...
missed t() calls in security
2018-01-22 18:03:26 -05:00
Adam Magness
6e758d0074
More missed use
...
a few more missed use statements for L10n
2018-01-22 18:03:26 -05:00
Adam Magness
06fc1d6588
Missing use
...
missed use statement for L10n
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
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
c8ecc31405
Update functions and calls
...
Update function names and calls.
2018-01-22 18:03:26 -05:00
2e333dea8f
Code cleaned
2018-01-22 22:26:47 +00:00
b4d14164bb
The url detection in BBCode is too greedy
2018-01-22 21:52:32 +00: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
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
3bad83f24e
Remove old file
...
remove include/plugin.php
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
11cf36105c
Update Addon functions and calls
...
Update function names and calls for Addon class.
2018-01-20 07:48:22 -05:00
Michael Vogel
104a03e82a
Merge pull request #4283 from MrPetovan/bug/2487-fix-autolink-regex
...
Fix autolink regular expression to include accents
2018-01-20 09:24:16 +01:00
Hypolite Petovan
4cca8280b4
Fix undefined variables PHP Notice
...
- $order_string in include/dba
- $limit_string in include/dba
- $search in mod/search
- $lang_list in include/pgettext.php
2018-01-19 22:52:49 -05:00
Hypolite Petovan
491a1373e0
Fix autolink regular expression to include accents
2018-01-19 21:39:57 -05:00
Hypolite Petovan
de70007a46
Update RINO settings
2018-01-19 11:27:53 -05: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
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
c4d3ab6878
Transfer all item shadow functions to the item class
2018-01-16 22:23:19 +00:00
Adam Magness
c98e558372
Remove old file
...
remove include/queue_fn.php
2018-01-15 20:16:51 -05:00
Adam Magness
bb08f87bba
Remove old file
...
remove include/nav.php
2018-01-15 17:12:39 -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
ebd071d181
Remove old file
...
remove include/message.php
2018-01-15 12:14:37 -05:00
Adam Magness
b3e6a1d283
Update functions and calls
...
Update functions and calls.
2018-01-15 12:14:09 -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
494f61a78f
Remove old file
...
remove include/profile_selectors.php
2018-01-15 10:16:21 -05:00
Adam Magness
d4178d482b
Remove old file
...
remove include/contact_widgets.php
2018-01-15 09:50:45 -05:00
Adam Magness
6cf6029ff5
Rename functions and calls
...
Rename functions and update calls
2018-01-15 09:50:06 -05:00
Adam Magness
edb8110555
Remove old file
...
remove include/attach.php
2018-01-15 08:33:12 -05:00
Adam Magness
41159cd14f
use
2018-01-14 21:41:56 -05:00
Adam Magness
641ab5e247
Remove include/identity
...
remove no longer used file
2018-01-14 21:23:18 -05:00
Adam Magness
4fb2547df8
Update function calls
...
update function calls to use profile class
2018-01-14 21:22:39 -05:00
Hypolite Petovan
fabbf810b0
Move library/markdown.php to src
2018-01-14 19:01:09 -05:00
Hypolite Petovan
503e5847f9
Improve html2bbcode
...
- trim code blocks
- Add <code> conversion to <code> (from Diaspora)
2018-01-14 19:01:09 -05:00
Hypolite Petovan
f828afde83
Extend multi-line code blocks regular expression
...
- Covers the case where there's no new line after the [code] tag
2018-01-14 19:01:09 -05: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
Michael Vogel
1ecfa49f4c
Merge pull request #4233 from MrPetovan/task/4116-move-smarty-to-composer
...
Move Smarty to composer
2018-01-14 20:05:52 +01:00
Hypolite Petovan
e412cd7c51
Fix formatting in include/friendica_smarty
2018-01-14 13:36:48 -05:00
Hypolite Petovan
03b16c449f
Remove library/Smarty
2018-01-14 13:36:27 -05:00
Hypolite Petovan
4dafdda99e
Fix Deprecated error message
2018-01-14 09:04:46 -05:00
Hypolite Petovan
adfabeadb1
Rename param to condition in dba::delete
...
- Fix formatting
- Use new array syntax
2018-01-13 23:46:59 -05:00
Adam Magness
4e7657da99
Remove redir.php
...
remove old file
2018-01-13 09:41:26 -05:00
Adam Magness
88aeddab82
Remove old file
...
Remove include/uimport.php
2018-01-13 09:15:45 -05:00
fabrixxm
2d0fe7a30f
Fix api login
2018-01-13 09:22:40 +01:00
Hypolite Petovan
93355b574d
Fix attachment display
...
- Move autolink before any potential OEmbed injection
- Add original URL attribute to invalid href and src
- Add loop to video to enable animated gifs
- Add URL domain to link attachments
- Hide link attachment description if equals the title
- Change attachment span to div to respect block order
2018-01-11 22:37:38 -05:00
Hypolite Petovan
b01daf18c5
Fix formatting of get_attachment_data()
2018-01-11 22:29:56 -05:00
6f1b1aee4b
Bugfix: The name of the item owner was empty in notifications
2018-01-11 22:07:41 +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
5ccbc95cef
Guard dba::lastInsertId() with result conditions
2018-01-11 03:49:02 -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
Hypolite Petovan
5691564220
Trust OEmbed HTML when it's available
...
- Reworked bb_attachment() to trust OEmbed content when it's
successfully pulled
- Fix coding standard by renaming parameter and variables
2018-01-10 19:25:08 -05: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
Michael Vogel
7be65769c5
Merge pull request #4197 from rabuzarus/20180110_-_rename_saved_search_button
...
the "save" button is now 'follow' when searching for tags
2018-01-10 20:31:44 +01: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
483d1a1bcb
Rename selectOne to selectFirst in comment
2018-01-10 12:57:21 -05:00
Hypolite Petovan
ae66bcaff3
Rename selectOne to selectFirst
2018-01-10 12:57:21 -05:00
Hypolite Petovan
c7a7658316
Fix documentation in include/dba
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
7723309310
Remove requires
...
Remove left over require_once statements.
2018-01-10 12:11:11 -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
rabuzarus
a75ececab4
remove @brief
from the doc header
2018-01-10 16:39:59 +01:00
rabuzarus
eb031e7ee2
rename the "save" button to 'follow' when searching for tags
2018-01-10 16:08:39 +01:00
Adam Magness
510e0dbb2e
Remove requires
...
remove old require_once
2018-01-09 22:48:15 -05:00
Adam Magness
98c162552b
Remove old file
...
remove contact_selectors
2018-01-09 22:43:14 -05:00
Adam Magness
a3ef9e35ec
Update functions and calls
...
Update function names and calls.
2018-01-09 22:42:04 -05:00
Adam Magness
484eb960d7
Remove follow
...
remove follow.php
2018-01-09 10:03:31 -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
Hypolite Petovan
6496a721ea
Merge pull request #4182 from annando/notify-public-post
...
Sends notifications for public posts with "uid=0"
2018-01-07 15:54:57 -05:00
24d7b2af82
One more query
2018-01-07 18:11:48 +00:00
28d3980fab
Changed queries
2018-01-07 18:06:06 +00:00
Michael Vogel
511572533e
Merge pull request #4183 from MrPetovan/bug/4173-fix-oembed-iframe-url
...
Restore tryoembed callback function
2018-01-07 18:10:00 +01:00
Hypolite Petovan
5605bdd289
Remove debug code
2018-01-07 10:02:21 -05:00
Hypolite Petovan
ca77bff933
Restore tryoembed callback
...
- Remove irritating extra <br> before shared content
2018-01-07 10:01:41 -05:00
708d034c6d
We have to check for the contacts uid not the item
s uid
2018-01-07 12:10:31 +00:00
f2efd58366
Sends notifications for public posts with "uid=0"
2018-01-07 11:08:36 +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
Hypolite Petovan
9e54d8d4b4
Fix Twitter quote tweet display
...
- Transforms twitter share tags into rich OEmbed attachments
2018-01-06 00:39:59 -05:00
Hypolite Petovan
6444f97c98
Fix issues in mod/contacts
...
- Fix formatting
- Use DBM::is_result()
- Use dba::select
- Simplify sprintf(t[t]()) structures
- Remove commented out code
- Remove unused variables
- Update documentation type hints
2018-01-05 21:05:23 -05:00
2d9163ce30
Posts from contacts weren't displayed correctly
2018-01-05 19:47:55 +00:00
Hypolite Petovan
c544258627
Revert assignment change in datetime
2018-01-04 22:51:38 -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
3b4f5f98f8
Merge pull request #4169 from annando/comment-dfrn
...
Precaution for incomplete threads
2018-01-04 16:31:16 -05:00
05c8cbc1e1
Precaution for incomplete threads
2018-01-04 20:59:19 +00: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
0c9a9b6f0c
Commenting to (nearly) every Friendica contact is now possible
2018-01-04 19:48:56 +00:00
Hypolite Petovan
d1b3b7fbe4
Review changes
...
- Remove doc for unused config value
- Restore api_get_user($a) calls
2018-01-04 13:26:09 -05:00
Hypolite Petovan
35a18f6825
Fix unused code in include (second pass)
2018-01-04 12:21:13 -05:00
Hypolite Petovan
3b23f89ca2
Fix unused code in include
...
- Fix local formatting
- Remove unused variable
- Fix unreached breaks
- Remove commented out code
- Add some documentation
2018-01-04 12:21:13 -05:00
Hypolite Petovan
722782d553
Remove unused parameter in can_write_wall()
2018-01-04 12:21:13 -05:00
Hypolite Petovan
659d637b5a
Remove unused param in datetimesel()
2018-01-04 12:19:06 -05:00
Hypolite Petovan
3b4625ebdd
Fix unused code in include/api
2018-01-04 12:19:06 -05:00
Hypolite Petovan
d9c6417f5d
Remove construct_acl_data()
2018-01-04 12:19:06 -05:00
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
3494663c15
Add allowed_domain generic function
2018-01-04 11:57:41 -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
ade987db47
Updates for community pages do work now
2018-01-04 15:46:56 +00:00
b677bdd4ff
Ensuring that only local users can comment on community items
2018-01-04 14:39:47 +00:00
505474e118
Community is always available
2018-01-04 14:09:44 +00:00
f66f631079
We now have a single menu item again
2018-01-04 14:02:04 +00:00
e96dbbe7f7
It's now in a single file
2018-01-04 13:04:12 +00:00
174a1bb54b
Commenting on community timelines is now possible
2018-01-04 10:02:56 +00:00
Adam Magness
e37640c44c
Move Photos to xrc
...
Move photos from include to Model\Photo class
2018-01-03 21:01:41 -05:00
243848eec1
Remove some currently unused stuff
2018-01-03 13:34:51 +00:00
3ffea2cd2c
We now have a global page for all global entries from the network.
2018-01-03 13:27:43 +00:00
6925299e5a
Merge remote-tracking branch 'upstream/develop' into community
2018-01-03 01:15:27 +00:00
Hypolite Petovan
9a3e773a9a
Merge branch 'develop' into task/3954-move-auth-to-src
2018-01-02 19:30:41 -05:00
Hypolite Petovan
9ea4fad46c
Review: Ensure $arr['network'] is populated in item_store
2018-01-02 08:32:53 -05:00
Hypolite Petovan
3dab04e6cc
Review: Removed unused code in include/bbcode
2018-01-02 08:30:15 -05:00
Hypolite Petovan
69df67740c
Last minute fix to include/items
...
- Use defaults() to fix undefined indexes
2018-01-02 08:18:19 -05:00
Hypolite Petovan
d0d4e3813b
Fix formatting and PHP notices in include/tags
...
- Change remaining double quotes into single
2018-01-02 08:11:14 -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
861c4c7474
Fix formatting and PHP notices in identity
...
- Change flow of profile_load() function to return early if $profiledata
and !$user
- Replace remaining double quotes by single
- Add back uninitialized variables in profile_sidebar
2018-01-02 08:09:50 -05:00
Hypolite Petovan
a964129085
Fix formatting and PHP notices in events
...
- Initialized variables in include/event
- Check for argc before retrieving argv in mod/events
2018-01-02 08:09:50 -05:00
Hypolite Petovan
3069f3b59d
Fix formatting and PHP notices in include/conversation
...
- Remove unused $nickname variable
- Remove unused $comment variable
- Use defaults() in get_responses() to check for array key existence
2018-01-02 08:09:50 -05:00
Hypolite Petovan
66dbef93e3
Fix formatting and PHP notices in bb_ShareAttributes
...
- Use x() to check for existence of key in $matches
- Remove unused $reldate from template shared_content
2018-01-02 08:09:49 -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
c238154a6e
Move include/auth to Login::sessionAuth
...
- Remove include/auth
2017-12-29 21:55:13 -05:00
Hypolite Petovan
2dc598ed5b
Move login() to Login module
...
- Move nuke_session to include/security
- Remove mod/login
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
Hypolite Petovan
09467be02a
Fix formatting include/security
2017-12-29 21:55:12 -05:00
69d16d9cfa
Don't show the connect link in the profile on the "follow" page
2017-12-29 22:53:08 +00:00
0bcbe6034e
Like on uid=0 does work now
2017-12-27 22:21:40 +00:00
9acc2ffc24
Make it easier
2017-12-27 21:51:16 +00:00
1c72a71933
Use another uid for likes
2017-12-27 21:44:22 +00:00
d707c5afcd
Merge remote-tracking branch 'upstream/develop' into comment-public
2017-12-26 23:59:32 +00:00
Hypolite Petovan
b39e06ed23
Merge pull request #4136 from Rudloff/feature/update_profile_api
...
Cleaner way to get user URL in api_account_update_profile
2017-12-26 17:13:58 -06:00
Pierre Rudloff
8b10bfe3a8
Cleaner way to get user URL in api_account_update_profile
2017-12-26 21:50:08 +01:00
Hypolite Petovan
06f32aaaa6
Merge pull request #4130 from Rudloff/feature/update_profile_api
...
Basic support for account/update_profile API (fixes #4094 )
2017-12-25 20:06:34 -05:00
Pierre Rudloff
c490a718ac
Update profile in directory when calling api_account_update_profile
2017-12-26 01:09:51 +01:00
Pierre Rudloff
94244024ac
Improve conditions in api_account_update_profile
2017-12-26 01:05:12 +01:00