Commit graph

6143 commits

Author SHA1 Message Date
Adam Magness c8ecc31405 Update functions and calls
Update function names and calls.
2018-01-22 18:03:26 -05:00
Michael 2e333dea8f Code cleaned 2018-01-22 22:26:47 +00:00
Michael b4d14164bb The url detection in BBCode is too greedy 2018-01-22 21:52:32 +00: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
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
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
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
Michael 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
Michael 6f1b1aee4b Bugfix: The name of the item owner was empty in notifications 2018-01-11 22:07:41 +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 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