Commit graph

6114 commits

Author SHA1 Message Date
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
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
Michael 24d7b2af82 One more query 2018-01-07 18:11:48 +00:00
Michael 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
Michael 708d034c6d We have to check for the contacts uid not the items uid 2018-01-07 12:10:31 +00:00
Michael 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