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 item
s 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
Michael
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
Michael
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
Michael
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
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
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
Michael
ade987db47
Updates for community pages do work now
2018-01-04 15:46:56 +00:00
Michael
b677bdd4ff
Ensuring that only local users can comment on community items
2018-01-04 14:39:47 +00:00
Michael
505474e118
Community is always available
2018-01-04 14:09:44 +00:00
Michael
f66f631079
We now have a single menu item again
2018-01-04 14:02:04 +00:00
Michael
e96dbbe7f7
It's now in a single file
2018-01-04 13:04:12 +00:00
Michael
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
Michael
243848eec1
Remove some currently unused stuff
2018-01-03 13:34:51 +00:00
Michael
3ffea2cd2c
We now have a global page for all global entries from the network.
2018-01-03 13:27:43 +00:00
Michael
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
Michael
69d16d9cfa
Don't show the connect link in the profile on the "follow" page
2017-12-29 22:53:08 +00:00
Michael
0bcbe6034e
Like on uid=0 does work now
2017-12-27 22:21:40 +00:00
Michael
9acc2ffc24
Make it easier
2017-12-27 21:51:16 +00:00
Michael
1c72a71933
Use another uid for likes
2017-12-27 21:44:22 +00:00
Michael
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
Pierre Rudloff
8c17b96749
Missing return types in docblocks
2017-12-25 21:14:02 +01:00
Pierre Rudloff
ee5301018a
Fix typo
2017-12-25 21:12:08 +01:00
Pierre Rudloff
de5dae0751
Basic support for account/update_profile API ( fixes #4094 )
2017-12-25 21:10:26 +01:00
Hypolite Petovan
75ba84efa8
Merge pull request #4129 from annando/issue-4121
...
API: Better use "about" instead of "pdesc"
2017-12-25 09:23:46 -05:00
Michael
0475fc1fce
API: Better use "about" instead of "pdesc"
2017-12-25 05:39:11 +00:00
Hypolite Petovan
c6a00f5ac4
Merge pull request #4126 from annando/issue-4121
...
Fix for issue 4121 - now the description isn't empty
2017-12-24 21:19:21 -05:00
Michael
ba4329da61
Fixed typo
2017-12-24 23:07:14 +00:00
Pierre Rudloff
37eecad8cc
Add missing doc in api.php
2017-12-24 15:01:43 +01:00
Michael
e848e376b8
Fix for issue 4121 - now the description isn't empty
2017-12-24 11:51:38 +00:00
Michael
fc0031f4ba
First steps to support public likes
2017-12-24 11:36:30 +00:00
Pierre Rudloff
0305aa2d82
Lint api.php
2017-12-24 00:27:45 +01:00