Commit Graph

573 Commits

Author SHA1 Message Date
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
Michael 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
Michael 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
Michael de7dbdff14 Removed test output 2018-01-14 19:02:27 +00:00
Michael 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
Michael a78cbf6174 The changed field name has to be changed here as well 2018-01-13 09:19:57 +00:00
Michael 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
Michael b638ed9e86 Corrected function name 2018-01-12 23:43:08 +00:00
Michael 2c90c5be94 Better treatment of Oembed detection with no OEmbed data and not title 2018-01-12 23:32:58 +00:00
Michael 06751470ce Changed case 2018-01-12 23:26:55 +00:00
Michael fc9453b7e9 Corrected field names 2018-01-12 23:20:19 +00:00
Michael 9e37b49bea copy and paste ... 2018-01-12 21:02:39 +00:00
Michael 3c027699a5 Receive participation messages and processes them 2018-01-12 20:52:43 +00:00
Tobias Diekershoff 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
Michael 1068091bbe Add the feed link to the body when not present in the feed 2018-01-11 22:57:31 +00:00
Michael c0eecfc55f Unbalanced html fixed 2018-01-11 22:34:56 +00:00
Michael e18e081b47 bookmark elements weren't always parsed correctly 2018-01-11 22:28:46 +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 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
Hypolite Petovan da9523ed23 Add maxwidth column to oembed table
- Match Caching key for OEmbed queries
2018-01-10 19:25:08 -05:00
Hypolite Petovan 47e0900220
Merge pull request #4202 from rabuzarus/20180110_-_init_app_in_sessionAuth
Bugfix: getApp() in sessionAuth()
2018-01-10 19:14:44 -05:00
rabuzarus 1bce1b57eb convert line endings 2018-01-11 01:06:00 +01:00
Michael fa9b7a4dcc Issue 4200: Adding new contacts not possible 2018-01-10 22:56:06 +00:00
rabuzarus d123a6523d I shouldn't try to code today 2018-01-10 23:18:04 +01:00
rabuzarus b1ae8151c2 fix a silly mistake 2018-01-10 22:57:27 +01:00
rabuzarus 4d5581a9d1 use self::getApp()->contact 2018-01-10 22:39:42 +01:00
rabuzarus 186b6330b9 Bugfix: getApp() in sessionAuth() 2018-01-10 22:21:22 +01: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
Hypolite Petovan b007f586dd
Merge pull request #4201 from annando/commenting-on-tags
Commenting on postings from tags on the network page does work now
2018-01-10 16:13:53 -05:00
Michael 0ef83b2383 Commenting on postings from tags on the network page does work now 2018-01-10 21:08:23 +00: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 ae66bcaff3 Rename selectOne to selectFirst 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 594461189b Review updates
require_once, foreach braces, new line EOF, and remove unneeded function.
2018-01-10 12:51:51 -05:00
Adam Magness 483c4e3803 selectFirst
dba::selectFirst hasn't been merged yet!
2018-01-10 12:08:56 -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
Hypolite Petovan 3f3e1c78dd
Merge pull request #4193 from annando/item-unification
We now are using a single function to store items
2018-01-10 09:11:36 -05:00
Adam Magness 1f1a16b6b2 Review Updates
Remove unused function. Add function headers.
2018-01-10 07:14:45 -05:00
Adam Magness a3ef9e35ec Update functions and calls
Update function names and calls.
2018-01-09 22:42:04 -05:00
Adam Magness 300b1b6af8 Move contact_selectors to src
Create ContactSelector class
2018-01-09 21:56:05 -05:00
Michael bbd9d587c7 Return the number of affected rows 2018-01-09 22:16:16 +00:00
Michael 81925e3730 We now are having an item class and a method to change item entries 2018-01-09 21:13:45 +00:00
Adam Magness 5358f5742e Rename create
rename create function to createFromProbe and update calls.
2018-01-09 11:40:25 -05:00
Adam Magness c81e83c500 Review changes
Update update and new functions to updateFromProbe and create. Update calls to renamed functions.
2018-01-09 11:23:26 -05:00
Adam Magness b72cfaf828 update use
update useings and self
2018-01-09 10:02:53 -05:00
Adam Magness a59ab5552e Includes and calls
Remove includes and update function calls
2018-01-09 09:59:52 -05:00
Adam Magness edfb08a779 Update new function
update function name and statements
2018-01-09 09:48:31 -05:00
Adam Magness fd1515eff4 Update function
Update the update function
2018-01-09 09:44:22 -05:00
Adam Magness 878ce3b858 Move follow functions
move follow functions into Contact class
2018-01-09 09:40:45 -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
Michael e12b6e01a2 Best "uid" for sending comments, refresh after commenting might work now 2018-01-07 17:14:43 +00:00
Michael 592ef50e41 Dropping is now possible as well 2018-01-07 11:59:54 +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
Michael f7d3ba26c8 The internal authentication for XMPP does work again 2018-01-07 00:55:20 +00:00
Hypolite Petovan 9593cac2d1 Replace hacky oembed local iframe with remote iframe html
- Remove call to OEmbed::iframe
- Replace oembed span by div
- Replace double quotes with single
2018-01-06 00:35:43 -05:00
Michael 2d9163ce30 Posts from contacts weren't displayed correctly 2018-01-05 19:47:55 +00:00
Hypolite Petovan 8d07a69bba Merge branch 'develop' into task/fix-scrutinizer-issues 2018-01-05 09:18:14 -05:00
Michael Vogel 3c0c85e211
Merge pull request #4172 from MrPetovan/task/4144-improve-connectors-settings
Improve connectors settings
2018-01-05 15:15:24 +01:00
Michael a157966bb9 Disable editing of public items / Reshare of community items is now possible 2018-01-05 13:48:06 +00:00
Hypolite Petovan 1cc39e7fb4 Scrutinizer fixes for mod/settings
- Use defaults()
- Remove unused variables and constants
- Fix some formatting
- Improve documentation
2018-01-05 02:48:02 -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 5640c42469
Merge pull request #4170 from MrPetovan/bug/4155-remove-proxy-oembed
Fix typo in OEmbed
2018-01-04 16:34:02 -05:00
Hypolite Petovan 85696bb5fa Fix typo 2018-01-04 16:29:35 -05: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
Michael 0c9a9b6f0c Commenting to (nearly) every Friendica contact is now possible 2018-01-04 19:48:56 +00:00
Hypolite Petovan 722782d553 Remove unused parameter in can_write_wall() 2018-01-04 12:21:13 -05:00
Tobias Diekershoff 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