Michael
70af2cecf2
Some of the last direct SQL calls to the item table had been changed
2018-06-21 06:21:51 +00:00
Roland Häder
1567eb0791
fixed another left-over ...
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-06-20 22:02:16 +02:00
Roland Häder
852ef4021b
more spaces + some curly spaces added
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-06-20 22:02:16 +02:00
Roland Häder
f2f12d6f50
Minor improvements:
...
- added spaces and curly braces
- added more TODOs as there really more to be done
- removed redundant braces from "return" keyword (no function)
- merged 2 nested if() into one single
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-06-20 22:02:15 +02:00
Hypolite Petovan
82d55f120f
Merge pull request #5238 from annando/more-abstraction
...
Even more replaced item calls ...
2018-06-19 14:02:43 -04:00
rabuzarus
0a97a3f822
Bugfix: hide savedsearch butten and subthread button for non local_users
2018-06-19 18:27:54 +02:00
Michael
507956818d
Use the item classes where possible
2018-06-18 05:19:28 +00:00
Michael
14cb128264
New function for generating item URI
2018-06-16 06:44:19 +00:00
Hypolite Petovan
d46cac7905
Wrap content filter around entire post including attachments
2018-06-12 21:54:36 -04:00
Michael
723b5ae803
Use MagicLinkbyId when possible
2018-06-02 08:28:01 +00:00
Michael
8a34895a23
Use magicLink whenever possible
2018-06-02 08:05:06 +00:00
Hypolite Petovan
93daf7883e
Merge branch 'master' into develop
...
- Updated new develop version label
- Incremented database build number
2018-06-01 07:30:04 -04:00
Pascal Deklerck
334aa40292
Fix autoname output length
2018-05-27 10:20:27 +02:00
Michael
3fe07cca57
Issue 2880: Editing post doesn't destroy mentions or hashtags anymore
2018-05-19 14:55:27 +00:00
Roland Häder
d0c7ba5257
Fixed parser error
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:50:21 +02:00
Roland Häder
47f95855c0
added spaces + some curly braces + some usage of dbm::is_result()
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:50:01 +02:00
Roland Häder
de50d62b81
more spaces + some curly spaces added
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:50:01 +02:00
Roland Häder
35ada99954
Opps, added missing curly brace.
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:49:58 +02:00
Roland Häder
1c9dc6526f
Continued:
...
- added more curly braces
- replaced if (blaFoo()) { return true; } return false; with return blaFoo();
- added spaces
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:49:58 +02:00
Roland Häder
09384119b1
added spaces + some curly braces + some usage of dbm::is_result()
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:49:55 +02:00
Roland Häder
c7e256f9de
more spaces + some curly spaces added
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:49:55 +02:00
Roland Häder
1a61cee5a7
added spaces + some curly braces
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:49:55 +02:00
Roland Häder
5b56f189ae
more spaces + some curly spaces added
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:49:54 +02:00
Roland Häder
bc259cdc44
added spaces + some curly braces
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:49:54 +02:00
Philipp Holzer
b4f5311e7f
Add Install Mode
...
- merge `friendica/develop` to `nupplaphil/install_mode`
2018-04-29 20:15:12 +02:00
Michael Vogel
bd0ba24518
Merge pull request #4951 from MrPetovan/bug/4946-move-current-theme-to-app
...
Move current_theme() to App
2018-04-29 19:11:49 +02:00
Hypolite Petovan
20289393da
Fix own post check for content filter
2018-04-28 19:11:11 -04:00
Hypolite Petovan
fde3d6f870
Replace current_theme() and current_theme_url() calls
2018-04-28 18:37:25 -04:00
Philipp Holzer
1ab965c944
Add Install Mode
...
- merged `friendica/develop` to `nupplaPhil/install_mode`
- content merged `mod/install.php` to `src/Class/`
2018-04-28 15:11:01 +02:00
Philipp Holzer
a97ad9dc42
Add Install Mode (Part 2)
...
- Added constants to class `App`
- Added global App-Mode to `dba:connect()` instead parameter `$install`
2018-04-28 12:36:40 +02:00
Philipp Holzer
d5b68cd146
Add a App-Mode with defined constants
...
- Normal Mode = 0
- Install Mode = 1
- Maintenance Mode = 2
Moved Install-Mode check to class `App`
Replaced all maintenance and install checks with $a->mode checks
2018-04-27 21:07:04 +02:00
Philipp Holzer
6973aaefc2
Add Install Mode
...
- Added $install_mode in Class App instead
- Extracted the install business logic to a new Class Install
- Replaced all $a->module == 'install' with $a->install_mode
2018-04-23 22:56:59 +02:00
Hypolite Petovan
48122733b8
Move content filter HTML in a template
2018-04-22 18:02:00 -04:00
Hypolite Petovan
4cfb12e9d9
Add one-line content filter when there's only one reason
2018-04-22 14:28:34 -04:00
Hypolite Petovan
98f64ed824
Replace duplicate behaviors by Model\Term::populateTagsFromItem
...
- Replaced in include/conversation
- Replaced in include/text
2018-04-16 22:22:58 -04:00
Michael
0ccb29c4df
Only compare the HTML when we forcefully ignore the cache
2018-04-06 16:52:01 +00:00
Michael
297784880e
Update the cached rendered html when it changed
2018-04-06 14:01:52 +00:00
Hypolite Petovan
34fd442821
Rename social.disable_cw pconfig to system.disable_cw
2018-04-04 23:08:48 -04:00
Hypolite Petovan
296f561878
Rename hook to "prepare_body_content_filter"
2018-04-04 23:08:48 -04:00
Hypolite Petovan
d38b86dabf
Fix disabled content filter for own posts
2018-04-04 23:08:48 -04:00
Hypolite Petovan
f26c99d17b
Disable content filter for preview and own posts
2018-04-04 23:08:48 -04:00
Hypolite Petovan
d603bf062d
Add CSS classes to content-filter wrapper
2018-04-04 23:08:48 -04:00
Hypolite Petovan
b755e808df
Add new content_filter hook in prepare_body
...
- Add content warning processing to prepare_body with use of disable_cw
setting
- Add filter_reasons params to prepare_body hook
2018-04-04 23:08:48 -04:00
Hypolite Petovan
bec46d7b01
Remove content warning processing in put_item_in_cache
2018-04-04 23:08:48 -04:00
Hypolite Petovan
586b0b6e57
Add bash to text_highlight language list
2018-03-29 19:29:09 -04:00
Hypolite Petovan
daffc27061
Move suppress_tags config to template
...
- Add new item.suppress_tags template variable
- Fix template formatting
2018-03-25 00:38:23 -04:00
Hypolite Petovan
6e7c6ab0fa
Remove references to include/event
2018-03-23 06:32:34 -04:00
Hypolite Petovan
f7e2071117
Replace include/event function with method calls
...
- Updated scope of Model\Event methods
- Updated use list
2018-03-23 06:32:34 -04:00
fabrixxm
e6c59b0593
fix docstring of get_poke_verbs()
2018-03-19 10:20:01 +01:00
Hypolite Petovan
c53c00ba4e
Add rendred-hash to put_item_in_cache todo
2018-03-15 03:23:11 -04:00
Hypolite Petovan
644767519e
Ensure the item body stays the same in put_item_in_cache()
...
- Add documentation
2018-03-15 02:13:00 -04:00
Hypolite Petovan
e28020c68a
Fix for CW: Items weren't cached
2018-03-15 01:32:04 -04:00
Michael
5bd519efff
There is now a "content-warning" field
2018-03-14 22:28:35 +00:00
Hypolite Petovan
9f693cc443
Display attach with missing title
...
- Rework preg_match_all call to remove 3 indentation levels
2018-03-08 23:52:01 -05:00
Michael
a3af6807ac
Improved resource id creation
2018-02-20 10:02:07 +00:00
Hypolite Petovan
9e3bae5caa
Remove references to include/bbcode.php
2018-02-14 22:01:14 -05:00
Hypolite Petovan
0c52866693
Refactor bbcode() into BBCode::convert()
2018-02-14 21:33:55 -05:00
Hypolite Petovan
6f9c66b0bc
Add missing require in include/text
2018-02-08 19:59:34 -05:00
Michael
c953784945
Forgotten "use"
2018-02-07 20:22:40 +00:00
Michael
1ec6359faa
Duplicate check
2018-02-06 16:44:48 +00:00
Michael
e609de2957
Many item calls are now isolated in a single function
2018-02-06 12:40:22 +00:00
Michael Vogel
fa95911fdb
Merge pull request #4393 from MrPetovan/task/3878-move-include-tags-to-src
...
Move include/tags to src/
2018-02-05 18:11:29 +01:00
Hypolite Petovan
2a5431a59e
Rename Model\Term methods
2018-02-04 16:48:50 -05:00
Hypolite Petovan
fd76b15638
Add is_null check
2018-02-04 08:58:29 -05:00
Hypolite Petovan
0abe4158d2
Rename Term methods ahead of the move
...
- Rename createFromItemURI() to insertFromItemFileByUri()
- Rename createFromItem() to insertFromItemFileById()
2018-02-03 22:42:31 -05:00
Hypolite Petovan
3dda70baf1
Add system.dlogip setting usage in dlogger()
2018-02-03 21:46:28 -05:00
Tobias Diekershoff
e5a5a7dc7b
Merge pull request #4386 from MrPetovan/task/3878-move-friendica_smarty-to-src
...
Move SMARTY3_TEMPLATE_FOLDER to FriendicaSmarty
2018-02-03 17:01:30 +01:00
Hypolite Petovan
5e7285b9ba
Move Temporal::convert() to DateTimeFormat::convert()
2018-02-03 08:56:55 -05:00
Hypolite Petovan
8aff8a76eb
Add Temporal::utcNow()
2018-02-03 08:56:52 -05:00
Hypolite Petovan
b854905150
Move ATOM_TIME to Temporal::ATOM
2018-02-03 08:56:52 -05:00
Hypolite Petovan
dc366bf1f7
Refactor datetime_convert into Temporal::convert
...
- Changed parameter order to save space
- Refactor select_timezone into Temporal::getTimezoneSelect
- Refactor field_timezone into Temporal::getTimezoneField
2018-02-03 08:56:51 -05:00
Hypolite Petovan
7be49913d4
Remove get_template_file function
2018-02-03 08:52:55 -05:00
Hypolite Petovan
65713f26f4
Remove references to include/friendica_smarty
2018-02-02 07:46:13 -05:00
Adam Magness
f7e9b74dca
Update function and sprintf
...
Update variable to static function and remove sprintf wrappers
2018-01-23 12:47:30 -05:00
Adam Magness
6e758d0074
More missed use
...
a few more missed use statements for L10n
2018-01-22 18:03:26 -05:00
Adam Magness
3b0f69599e
Updat tt() calls
...
update function calls for tt()
2018-01-22 18:03:26 -05:00
Adam Magness
d49f986d1e
Many t() calls
...
modify many t() calls.
2018-01-22 18:03:26 -05:00
Adam Magness
11cf36105c
Update Addon functions and calls
...
Update function names and calls for Addon class.
2018-01-20 07:48:22 -05:00
Hypolite Petovan
e36f2bb1fb
Use short form array syntax everywhere
...
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Adam Magness
4fb2547df8
Update function calls
...
update function calls to use profile class
2018-01-14 21:22:39 -05:00
Hypolite Petovan
4dafdda99e
Fix Deprecated error message
2018-01-14 09:04:46 -05: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
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
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
a3ef9e35ec
Update functions and calls
...
Update function names and calls.
2018-01-09 22:42:04 -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
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
916236ce2f
Fix docblocks types
2017-12-17 15:27:50 -05:00
Michael
ea10a7c002
Map is moved to the new place
2017-12-13 21:37:34 +00:00
Hypolite Petovan
385a36138a
Format valid_email function in include/text
2017-12-12 20:52:28 -05:00
Hypolite Petovan
1cdee234f7
Merge pull request #4028 from annando/mood2
...
We've got no mood anymore
2017-12-07 07:53:46 -05:00
Andy H
68ac89da58
Update text.php
...
Corrected typo
2017-12-07 14:45:37 +07:00
Michael
0608efc38a
We've got no mood anymore
2017-12-07 07:01:55 +00:00
Adam Magness
b1d16fbdf7
Update use statements
...
update use statements for rename to singular.
2017-12-04 09:04:36 -05:00
Adam Magness
6e5471def3
Rename to singular
...
Rename and update references. Standards and a require_once.
2017-12-04 09:01:27 -05:00
Adam Magness
2f0da29c75
Features to src
...
Move Features to class in Friendica\Content namespace. Update function calls and references.
2017-12-04 08:33:49 -05:00
Michael
0982b0413b
Bugfix for "Call to undefined function best_link_url()"
2017-11-29 21:27:39 +00:00
Hypolite Petovan
d5c38b9fc9
Add odd number of character support to random_string()
2017-11-26 07:57:29 -05:00