Commit graph

4702 commits

Author SHA1 Message Date
Michael Vogel
ca325fbd63
Merge pull request #683 from MrPetovan/bug/4584-fix-twitter-gif-still-image
Restore source storing for Twitter conversations
2018-08-05 14:05:03 +02:00
Hypolite Petovan
04ddb284da Revert "Merge pull request #682 from MrPetovan/bug/5341-advancedcontentfilter-honors-csp"
This reverts commit e79d738437, reversing
changes made to 20e42c09b7.
2018-08-05 13:42:53 +02:00
Hypolite Petovan
6f0b79456e [twitter] Restore source storing in conversation table 2018-08-05 13:06:37 +02:00
Hypolite Petovan
1d3ec58bfb [twitter] Source formatting
- Add type hints
- Simplify hook (un)register notation
- Convert some double quotes to single quotes
2018-08-05 13:05:59 +02:00
Michael Vogel
e79d738437
Merge pull request #682 from MrPetovan/bug/5341-advancedcontentfilter-honors-csp
Advancedcontentfilter honors CSP
2018-08-04 16:48:56 +02:00
Hypolite Petovan
48d887dd21 [advancedcontentfilter] Add new support DOM file 2018-08-04 16:00:41 +02:00
Hypolite Petovan
ee8f151a23 [advancedcontentfilter] Remove obsolete external JS resource 2018-08-04 16:00:03 +02:00
Hypolite Petovan
97aa353652 [advancedcontentfilter] Move Vue template from DOM to compiled render functions 2018-08-04 15:59:04 +02:00
Tobias Diekershoff
20e42c09b7
Merge pull request #681 from annando/notices-again
Notices again
2018-08-02 07:23:23 +02:00
Michael
8f562a4b22 Avoid empty post 2018-08-02 05:09:37 +00:00
Michael
c0d7330b45 We should quit on not getting data 2018-08-01 19:14:28 +00:00
Michael
74353e7f2d Some more notices in addons 2018-08-01 17:28:55 +00:00
Tobias Diekershoff
b8d0930665
Merge pull request #679 from annando/develop
And some more notices ...
2018-08-01 07:24:11 +02:00
Michael
06c6bfc88d And some more notices ... 2018-07-31 18:10:34 +00:00
Tobias Diekershoff
c0ecafcfdc
Merge pull request #678 from annando/notices
And now for something complete different ... notices
2018-07-31 18:41:09 +02:00
Michael
7f02ca32c9 And now for something complete different ... notices 2018-07-31 16:22:05 +00:00
Michael Vogel
53a3c85d4f
Merge pull request #673 from Quix0r/global/mod-proxy-to-class
[global]: Proxy class has been introduced, need to fix these as well.
2018-07-31 07:33:33 +02:00
Tobias Diekershoff
e9f5008e2b
Merge pull request #677 from annando/notices
Notice fix: The variabe had never been defined
2018-07-31 06:26:49 +02:00
Michael
8e77528e23 Notice fix: The variabe had never been defined 2018-07-31 02:04:45 +00:00
Roland Häder
9695138ba1
[global] Renamed class ProxyUtils -> Proxy and aliased it back to ProxyUtils 2018-07-31 03:20:29 +02:00
Roland Häder
e269589c65
[global] CR request: Moved proxify*() methods to separate class 2018-07-31 03:20:04 +02:00
Roland Häder
7032e088f7
[global] Moved to Module\Proxy 2018-07-31 03:20:04 +02:00
Roland Häder
265a2c498e
[global]: Proxy class has been introduced, need to fix these as well. 2018-07-31 03:20:04 +02:00
Michael Vogel
fc2a367dae
Merge pull request #676 from Quix0r/dwpost/fixes-curly-spaces
[dwpost] Cleanups and type-hint rewrite
2018-07-30 06:22:37 +02:00
Michael Vogel
a52933c57a
Merge pull request #675 from Quix0r/buglink/fixes-curly-spaces
[buglink]: Added type-hint 'App'
2018-07-30 06:11:22 +02:00
Roland Häder
24c2f06e85
[dwpost] Cleanups:
- used type-hint `App` and no call-by-reference
- converted spaces -> tab for indenting
- DBA::isResult() used instead of empty/count/...
- added curly braces and spaces for better readability
- opening curly brace after function/method/class belongs into new line
2018-07-29 22:34:40 +02:00
Roland Häder
bc5aa4015b
[buglink]: Added type-hint 'App' 2018-07-29 22:23:16 +02:00
Michael Vogel
80a0d6a974
Merge pull request #674 from Quix0r/tumblr/fixes-curly-spaces
[tumblr] Type-hints, curly braces and spaces added
2018-07-29 19:57:48 +02:00
Roland Häder
f9784d7095
[tumblr]
- added type-hints for `App`
- added curly braces + spaces for better readability
- avoided to use deprecated x(), replaced with empty()
- converted multi single-line comment to single multi-line comment
- opening curly brace behind a function/method/class belongs into next line
2018-07-29 19:43:53 +02:00
Roland Häder
93fb5a6151 [cross] Moved CONTACT_* constants to class Friendica\Model\Contact (#670)
* [cross] Moved CONTACT_* constants to class Friendica\Model\Contact

* Other PR request:
- renamed Contact::CONTACT_IS_* to just plain Contact::* :-) (MrPetovan)
2018-07-28 01:34:38 -04:00
Roland Häder
05bea7c61d [forumdirectory] Fixes, type-hints and PAGE_* moval (#671)
* Rewrite:
- moved PAGE_* constants to class Friendica\Model\Profile

* Rewrites:
- added type-hint `App`
- added type-hint `array` to $b
- used empty() instead of deprecated x()

* [forumdirectory] CR request:
- moved constants PAGE_* from Profile to Contact class

* [forumdirectory] CR request: Removed superfluous == 1
2018-07-28 01:33:39 -04:00
Michael Vogel
31d0fac64a Some more notices fixed (#672) 2018-07-26 15:20:12 -04:00
Roland Häder
f4763f67ad [curweather] x() no longer used and more (#669)
* [curweather] Fixes/rewrites:
- Added `App` as type-hint for $a and no & (call-by-reference) anymore
- use empty() instead of deprecated x()
- opening curly brace belongs into new line after function/method declaration
- added a lot other curly braces for better readability
- added spaces and empty lines

* [curweather] CR request:
- added/removed spaces
- added missing line-feed after opening curly brace

* [curweather] Another new line-feed added

* [curweather] CR request:
- added/removed extra spaces
- removed trailing spaces
- nicely indented code block with `'$foo' => 'bar'`

* [curweather] CR request:
- removed stray space
2018-07-24 20:18:59 -04:00
Roland Häder
40f01ae601 [xmpp] Fixes: (#668)
- rewrote from deprecated x() to empty()
- added some empty lines for better readability
- used single quotes
2018-07-24 17:54:00 -04:00
Roland Häder
9d74809504 [bufffer] Cleanups: (#667)
- purged deprecated x() and used !empty() instead
- add App as type-hint where missing
- added curly braces and spaces for better readability/code convention
- open curly brace after method/function should be next line
2018-07-24 07:44:42 -04:00
Tobias Diekershoff
26800cddb3
Merge pull request #660 from annando/notices-again
And again some removed notices
2018-07-24 06:34:51 +02:00
Michael Vogel
429b9c9f4a
Merge branch 'develop' into notices-again 2018-07-24 04:19:48 +02:00
Michael Vogel
f33a6b44c5
Merge pull request #663 from MrPetovan/task/5410-add-missing-use-statement
[widgets] Add missing use statement after dbesc conversion
2018-07-24 03:51:08 +02:00
Roland Häder
95a98faeec [diaspora]: Ops, fixed parser error. Followup to #665 (#666) 2018-07-23 19:31:44 -04:00
Roland Häder
280e835481 [diaspora] Cleanups and type-hinting (#665)
* [diaspora] Fixes/cleanups:
- added curly braces/spaces for better readability
- don't use count() when you can use DBM::is_result()
- used proper type-hints `App` and `array`
- "imported" Friendica\App

* [diaspora]: Fixed parser error, ops

* [diaspora]:
- DBA::isResult() is now the new name (MrPetovan)
- added spaces for nice indending and better readability
- changed 4-spaces to tab
2018-07-23 19:04:06 -04:00
Roland Häder
ea4de38223 [mailstream]: Fixed logger level NORMAL -> INFO (#664) 2018-07-23 18:54:14 -04:00
Hypolite Petovan
c4c2514f3b [widgets] Add missing use statement after dbesc conversion 2018-07-23 18:46:16 -04:00
Andreas Neustifter
b058ac39df [curweather] Fix widget layout. [friendica#5473] (#662)
See issue [friendica#5473](https://github.com/friendica/friendica/issues/5473) and PR#653.
2018-07-23 17:06:09 -04:00
Michael Vogel
76a9630d40
Merge pull request #659 from MrPetovan/task/5410-remove-dbesc
Remove dbesc()
2018-07-23 21:51:20 +02:00
Hypolite Petovan
522e8e58c2 [multiple] Rename dbesc to DBA::escape 2018-07-23 15:35:22 -04:00
Michael Vogel
d9ec1ef80d
Merge pull request #658 from MrPetovan/task/5410-remove-dbm-class
Remove DBM class
2018-07-23 21:05:13 +02:00
Hypolite Petovan
f4ad0d3721 Rename DBA::is_result to DBA::isResult 2018-07-23 15:02:59 -04:00
Hypolite Petovan
332ea212b5 Rename DBM method calls to DBA method calls 2018-07-23 15:02:10 -04:00
Michael Vogel
8cdacf34b1
Merge pull request #657 from MrPetovan/task/5410-rename-database-methods
[advancedcontentfilter] Rename DBA::inArray to DBA::toArray
2018-07-23 15:19:05 +02:00
Roland Häder
a9da9db7eb [pumpio] Fixes/imports: (#661)
* [pumpio] Fixes/imports:
- added curly braces and spaces for better readability
- merged 2 `if()` blocks into one for lesser nested code blocks
- added type-hint `App` and `array` where applyable
- better "import" (`use` under PHP) classes and not reference them directly,
  reducing and improving readability

* [pumpio] Fixes:
- x() is deprecated, let's use !empty() instead
- added spaces for better readability

* [pumpio] Fixes:
- added missing App "imports" (thanks to MrPetovan)
- added type-hint array for $b
- added some spaces
2018-07-22 12:01:05 -04:00