Commit graph

17167 commits

Author SHA1 Message Date
Hypolite Petovan
2a09af8bd0 Remove too strict parameter check in defaults() 2018-01-03 21:24:09 -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
Hypolite Petovan
cc84939658 Updated hcard with the new feed links 2017-12-30 00:40:21 -05:00
Hypolite Petovan
a25d07e5e8 Renamed type to filter in OStatus::feed 2017-12-30 00:34:50 -05:00
Hypolite Petovan
62391d321b Merge branch 'task/4137-add-posts-only-feed' of https://github.com/MrPetovan/friendica into task/4137-add-posts-only-feed
# Conflicts:
#	src/Module/Feed.php
2017-12-30 00:34:23 -05:00
Hypolite Petovan
a75a27e08f Add Feed module
- Update profile alternate links
2017-12-30 00:32:45 -05:00
Hypolite Petovan
fec3aaf9b2 Add Feed module
- Update profile alternate links
2017-12-30 00:19:45 -05:00
Hypolite Petovan
c2e29f2685 Add type parameter to OStatus::feed
- Removed unused parameter $a
- Added $nocache parameter
- Updated usages
2017-12-30 00:19:16 -05:00
Hypolite Petovan
095d458de4 Fix formatting mod/profile 2017-12-29 22:23:58 -05:00
Hypolite Petovan
19878a6397 Fix formatting dfrn_poll 2017-12-29 22:12:18 -05:00
Hypolite Petovan
6d6d83012c
Merge pull request #4151 from annando/connect-follow
Don't show the connect link in the profile on the "follow" page
2017-12-29 17:49:44 -06:00
69d16d9cfa Don't show the connect link in the profile on the "follow" page 2017-12-29 22:53:08 +00:00
Hypolite Petovan
6bd19e7dab
Merge pull request #4149 from annando/send_participation
Follow up to PR 4147
2017-12-29 14:06:27 -06:00