Michael Vogel
5a3991d4f7
Merge pull request #6219 from MrPetovan/task/remove-x
...
Remove x()
2018-12-01 23:40:51 +01:00
Hypolite Petovan
458981f75c
Replace x() by isset(), !empty() or defaults()
...
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
2018-11-30 09:06:22 -05:00
Michael
9d8eca2287
Using the same function for display and objects
2018-11-29 22:42:10 +00:00
Michael
39ce33f7ed
Issue 6212: No need of a redirect for fetching content
2018-11-29 15:06:00 +00:00
Adam Magness
ffc406d819
normalise_link calls
...
implement normaliseLink function
2018-11-08 11:28:29 -05:00
Adam Magness
35abc4bb64
get markup template
...
implement getMarkupTemplate function
2018-10-31 10:44:06 -04:00
Adam Magness
91facd2d0a
replace macros
...
implement new replaceMacros function
2018-10-31 10:35:50 -04:00
Adam Magness
50da89d861
Logger Levels
...
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
Hypolite Petovan
14237a9599
Move $pager and $page_offset out of App
...
- Move infinite scroll data output in a module hook
- Use Pager instead of paginate() and alt_pager()
2018-10-25 00:07:15 -04:00
Philipp Holzer
d00ddc01af
Split goaway to System::externalRedirectTo() and App->internalRedirect()
2018-10-22 22:13:35 +02:00
Philipp Holzer
2ef81108b3
Renamed System::redirect() to $a->redirect()
2018-10-22 22:13:22 +02:00
Jonny Tischbein
f3fc1f36ca
Renaming functions + moving functions from security to Model/Item and BaseModule + fix multiline comments
2018-10-17 21:30:41 +02:00
Jonny Tischbein
05be2db725
Move include/security tp /src/Core/Authentication and /src/Util/Security
2018-10-17 14:19:58 +02:00
Philipp Holzer
5a02e39a65
Rename App Methods
...
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
Michael
518d461a8f
Issue 5811: "objects" instead of "object"
2018-10-02 20:12:38 +00:00
Michael
cb44aa83c7
Object instead of Display
2018-09-30 12:21:57 +00:00
Michael
a56565fa99
AP is enabled for all users
2018-09-22 23:49:27 +00:00
Michael
f772ece86f
New delivery module for ap
2018-09-17 21:13:08 +00:00
Michael
699a4140f9
Now sending does finally work - and some AP standards are improved as well
2018-09-16 20:12:48 +00:00
Michael
1afa6523bc
Adding (temporary) calls to AP in existing stuff
2018-09-11 07:07:56 +00:00
Michael Vogel
d9b44153da
The content generation for the display page is now using a centralized function ( #5642 )
...
* The content generation for the display page is now using a centralized function
* Small correction to avoid notices
2018-08-20 16:32:55 -04:00
Michael
e8334c4655
Use the Item class instead of DBA calls when possible
2018-08-15 04:41:49 +00:00
Roland Häder
e06fc2aa69
Stopped using deprecated constants NETWORK_* ( #5537 )
...
* Rewrite:
- stopped using deprecated NETWORK_* constants, now Protocol::* should be used
- still left them intact for slow/lazy developers ...
* Removed deprecated NETWORK_* constants as per code reviewer's request.
2018-08-11 22:40:44 +02:00
Hypolite Petovan
ecea7425f8
Rename DBA::is_result to DBA::isResult
2018-07-23 11:04:14 -04:00
Hypolite Petovan
0ec44f3e8a
Rename DBM method calls to DBA method calls
2018-07-23 11:02:24 -04:00
Hypolite Petovan
f051ae1698
Rename DBA::fetch_first to DBA::fetchFirst
2018-07-22 19:27:34 -04:00
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 08:19:26 -04:00
Hypolite Petovan
daa1177e3a
Update use statement lists with new Friendica\Database\dba class
...
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
2018-07-19 22:15:21 -04:00
Michael
0e8fa34156
Fix for displaying public items
2018-07-16 04:00:57 +00:00
Michael Vogel
0360f7197a
Several more warnings ... ( #5340 )
...
* Some more warnings removed
* Even more warnings ...
* Will it ever end? ;-)
* Avoid warning in dbstructure
* Origin and OStatus ...
* There are more warnings solved ... yeah!
* And again ...
* We are not done yet
* And more ...
* And some new places ...
* And more in the feeds
* Avoid some more
* And some backend stuff
* Notifications cleared
* Some more stuff
* and again ...
* It's getting fewer ...
* Some warnings had been hidden in the notifications
* Fix the fix
* And another missing one ...
* We need the owner here, not the user
* Forgotten user
* And more ...
* And some more warnings disappeared ...
* Some more frontend warnings
* Some backend warnings removed
* Fixed sidebar for "vier"
* And more ...
* Some more ...
* And something for "remote self"
* Am I stuck in an endless loop?
* Fix: Clear tag and file field on update
* Preset page content
2018-07-10 08:27:56 -04:00
Michael
1d745c25a7
Some more places ...
2018-07-08 12:58:43 +00:00
Michael
3e797547a3
Warnings fixed
2018-07-08 09:37:05 +00:00
Michael
4d35e228c4
More item abstraction / making remote deletion work again
2018-07-07 18:14:16 +00:00
Michael
b03db4643f
The fetch function now centrally controls the content
2018-06-24 10:48:29 +00:00
Michael
92650f9634
Null - not false
2018-06-19 17:58:28 +00:00
Michael
a9a19cb8e6
Display is reworked
2018-06-19 17:57:45 +00:00
Michael
4714cb746b
Use the item functions at many more places
2018-06-18 20:36:34 +00:00
Michael
507956818d
Use the item classes where possible
2018-06-18 05:19:28 +00:00
Michael
6e10de9284
New function to fetch item data especially for users
2018-06-17 17:05:17 +00:00
Michael
0280a46ab4
Use predefined field lists
2018-06-17 06:27:52 +00:00
Michael
5d9083c369
Bugfix in notifications / network and display are using the new functions now
2018-06-10 07:26:37 +00:00
Michael
3f07d01dd1
Get rid of unneeded or redundant fields
2018-06-03 07:42:56 +00:00
Michael
4c36109f02
Some more places to add the user id
2018-05-26 20:03:30 +00:00
Michael
bdbc51229a
Fix for not being able to delete items
2018-05-26 18:07:27 +00:00
Michael
e28819655c
Follow up: Display update should really be fixed now.
2018-05-19 16:04:57 +00:00
Michael
b1a9030369
Fix constant display updates
2018-05-19 06:12:55 +00:00
Michael
6c792588fd
Ensure to mostly fetch the item with an non zero user id
2018-05-08 22:26:49 +00:00
Hypolite Petovan
27d94023ee
Merge branch 'master' into develop
2018-03-23 06:15:55 -04:00
Hypolite Petovan
789561c7a2
Remove/Update references to include/html2*.php
2018-03-07 16:34:17 -05:00