Commit Graph

17178 Commits

Author SHA1 Message Date
Hypolite Petovan 0dd664f54b Review change
- Remove htconfig doc for admin panel setting
2018-01-04 13:27:59 -05:00
Hypolite Petovan 802f8e53b7 Updated Composer class maps 2018-01-04 12:05:46 -05:00
Hypolite Petovan 1f805da94f Move ParseUrl to Util namespace 2018-01-04 12:03:15 -05:00
Hypolite Petovan d416243964 Add check for allowed URL in OEmbed
- Add mixed-content mitigating
2018-01-04 12:01:46 -05:00
Hypolite Petovan 50e04d87c2 Add no_oembed_rich_content and allowed_oembed admin settings 2018-01-04 11:58:32 -05:00
Hypolite Petovan 3494663c15 Add allowed_domain generic function 2018-01-04 11:57:41 -05:00
Michael Vogel 00d369a65d
Merge pull request #4165 from MrPetovan/bug/4163-null-profile
Remove too strict parameter check in defaults()
2018-01-04 09:58:27 +01:00
Michael Vogel 4ccb32e991
Merge pull request #4162 from MrPetovan/develop
Update Composer
2018-01-04 09:53:09 +01:00
Hypolite Petovan fbe909609d
Merge pull request #4164 from zeroadam/Photo-#3878
Move Photos to src
2018-01-03 23:02:12 -05:00
Adam Magness 71534a1475 Review update
Rename function and add new function.
2018-01-03 22:36:15 -05:00
Hypolite Petovan 2a09af8bd0 Remove too strict parameter check in defaults() 2018-01-03 21:24:09 -05:00
Adam Magness e37640c44c Move Photos to xrc
Move photos from include to Model\Photo class
2018-01-03 21:01:41 -05:00
Hypolite Petovan 929c6de5f2 Update Composer
- Update Mobile_Detect to version 2.8.30
- Update class maps
2018-01-03 19:18:14 -05:00
Hypolite Petovan 1752dfe1c3
Merge pull request #4158 from rabuzarus/20180102_-_frio_fix_saved_search_button
bugfix: -frio- save search button should be only visible if the feature is enabled
2018-01-02 09:01:41 -06:00
rabuzarus ebb60ddd58 bugfix: -frio- save search button should be only visible if the feature is enabled 2018-01-02 15:48:11 +01:00
Michael Vogel 92b501aa83
Merge pull request #4157 from MrPetovan/task/fix-notices
Fix PHP notices
2018-01-02 15:16:43 +01:00
Hypolite Petovan 7d40f22a2e Review: Simplify boolean assignment in Object\Post 2018-01-02 08:36:35 -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 60d4c6b86e Fix PHP Notice in new OEmbed class 2018-01-02 08:20:33 -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 e8e2e41d73 Fix formatting and PHP notices in Object\Post
- Use x() and defaults() to fix undefined indexes
- Simplify boolean variable assignments
- Simplify sprintf(t()) structures
2018-01-02 08:18:19 -05:00
Hypolite Petovan 4e6050489d Fix formatting and PHP notice in mod/profile
- Use x() and defaults() to fix undefined indexes
- Simplify boolean variables assignment
- Add back undefined variables
2018-01-02 08:18:18 -05:00
Hypolite Petovan 93ca0d79fe Fix formatting and PHP notice in mod/photos
- Use x() and defaults() to fix undefined indexes.
- Add missing fields in SQL query in dropalbum
- Improve file upload error messaging
- Remove unused variables
- Add back undefined variables
- Simplify nested conditions
- Remove unused public/private code block in photo upload and photo edit
2018-01-02 08:11:14 -05:00
Hypolite Petovan 97bc54cf1b Fix formatting and PHP notices in network and photo modules
- Remove unused variable $file and associated SQL
- Add back uninitialized variables
2018-01-02 08:11:14 -05:00
Hypolite Petovan e52c11cc58 Fix formatting and PHP notice in mod/message
- Use argc to check for argv existence
- Simplify sprintf(t()) structures
2018-01-02 08:11:14 -05:00
Hypolite Petovan f7165156f1 Fix formatting and PHP notices in contacts
- Use x() and defaults() to fix undefined indexes
- Fix variable and constant name typos
- Remove unused variables and commented out code
- Add back undefined variables
2018-01-02 08:11:14 -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 585c00347d Fix PHP notices in boot, index and App
- Use defaults() with $_GET variables in boot
- Initialize $a before checking for object member in boot
- Initilialize the $_SESSION variable for backend mode in index
- Add member variable page_offset to App
2018-01-02 08:09:49 -05:00
Hypolite Petovan 54d598ce7c Fix formatting and PHP Notice in frio theme
- Fix undefined variable $a->install in frio/style
- Removed unused $args assignments in frio/theme
- Removed unused $sql_extra2 variable in frio_acl_lookup()
2018-01-02 08:09:49 -05:00
Hypolite Petovan 49eda1e154 Add defaults() function 2018-01-02 08:09:49 -05:00
Michael Vogel a86ffd878d
Merge pull request #4152 from MrPetovan/task/4137-add-posts-only-feed
Add posts only feed
2018-01-02 10:14:56 +01:00
Michael Vogel 158cb8dd53
Merge pull request #4156 from MrPetovan/bug/4155-move-oembed-to-src
Move oembed to src
2018-01-02 09:58:22 +01:00
Hypolite Petovan 7e2a08c7bc Review changes
- Add file comment in Content\OEmbed
- Add self where relevant
- Remove useless spaces from the XPath expression
2018-01-01 17:43:03 -05:00
Hypolite Petovan 23e38cd559 Revert "Updated hcard with the new feed links"
This reverts commit cc84939658.
2018-01-01 17:29:50 -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
Hypolite Petovan e376e1abf6
Merge pull request #4153 from zeroadam/Crypto-#3878
Move Crypto to src
2017-12-31 08:47:06 -06:00
Adam Magness dc5de5adbd Public function
Make private function public.
2017-12-31 08:31:06 -05:00
Adam Magness fe3dac4825 Fix self call
was self when in Crypto..
2017-12-31 08:29:03 -05:00
Adam Magness db653e4451 Move salmonKey to Salmon class
move the salmonKey function from Crypto to Salmon
2017-12-31 08:04:36 -05:00
Adam Magness 0131fd5745 ASNValue
add missing ASNValue
2017-12-30 12:44:43 -05:00
Adam Magness a00303a6a0 Another ASN
attempt #2
2017-12-30 12:23:45 -05:00
Adam Magness 5d352641a8 ASN_BASE
error ASN_BASE not found. Probably a namespace thing.
2017-12-30 12:09:08 -05:00
Adam Magness 9e6bf79380 Crypto to src
move Crypto to src and Friendica\Util namespace
2017-12-30 11:51:49 -05:00