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 H3
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
Hypolite Petovan
d38c040d50
Update random_string with random_bytes
...
- Updated update.php
2017-11-25 21:15:50 -05:00
Hypolite Petovan
104a1d7fd3
Move ITemplateEngine to src
...
- Fix method name format
2017-11-19 10:22:18 -05:00
Adam Magness
4d146acf90
Smilies to src
...
Move Smilies to Friendica\Content namespace.
Related to #3878
2017-11-11 07:21:15 -05:00
Michael
731ec347b1
Removed old template parser
2017-11-11 09:26:23 +00:00
Michael
3764dc2bf6
Some more code improvements, removed deprecated functions
2017-11-11 06:42:39 +00:00
Michael
cfdbd07628
The friend contact block wasn't displayed in the profile
2017-11-11 05:23:28 +00:00
Adam Magness
4ca68c7af0
Class file relocations
...
Issue #3878
2017-11-08 08:37:03 -05:00
Adam Magness
0dfa57948f
Issue-#3873
...
Replace deprecated functions with new syntax.
2017-11-07 06:24:39 -05:00
rabuzarus
553428d1b1
event items are now more themeable in the networkstream.
...
The event description stays the same - but the theme developer can provide an template how the other event data should be organized and look
2017-10-13 19:42:27 +02:00
Michael
a29b7e7153
"dba" is now a static class
2017-10-11 12:56:36 +00:00
Michael
6e670df80f
OStatus: Better attachment handling for pictures
2017-09-07 15:34:50 +00:00
Michael
66968efb9a
Logger date format is now ISO8601 compatible
2017-09-06 21:13:06 +00:00
Michael
1893c3df16
Pleroma-Servers are now detected and displayed in the statistics
2017-08-29 16:40:08 +00:00
Michael
83ce42172b
Don't add "redir" links on mentions
2017-08-27 09:56:41 +00:00
Michael
5adfeb0bd5
App::get_baseurl is now replaced with System::baseUrl
2017-08-26 07:32:10 +00:00
Michael
3c24bed412
New class "System"
2017-08-26 06:04:21 +00:00
Michael
17b05c9ad9
Hash tag links now do a redir
2017-08-19 09:22:50 +00:00
Michael
1d8c91c478
Restructured "dba::exists" function
2017-08-12 08:55:50 +00:00
Michael
4ada71081f
No timeout problem anymore in preview.
2017-08-11 20:25:02 +00:00
Michael
99f0c01cdd
Some more changed queries
2017-08-11 16:21:55 +00:00
Michael
d810b21f87
New dba functions
2017-08-11 08:04:01 +00:00
Michael
a5baba84af
Only show the attachment elements if there are one.
2017-07-17 19:49:58 +00:00
Michael
1c8e74edce
Attachments now look fine.
2017-07-17 19:38:15 +00:00
Michael
b49a36f949
The attached image has now a class
2017-07-15 04:02:12 +00:00
Michael
181947f774
Merge remote-tracking branch 'upstream/develop' into 1706-ostatus-attach
...
Conflicts:
include/text.php
2017-07-13 20:38:18 +00:00
Roland Häder
4e49939421
Merge remote-tracking branch 'upstream/develop' into rewrites/coding-convention-split2-6-2
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-06-13 23:26:06 +02:00
Hypolite Petovan
9c0d2c31e8
Replace AND and OR in PHP conditions by && and ||
2017-06-07 22:00:59 -04:00
Michael
910cca0629
Attached pictures in OStatus posts are now displayed
2017-06-06 17:55:14 +00:00
Roland Häder
e9c9c47a84
Continued a bit:
...
- opps, cherry-pick/rebase/what-ever did not take all over
- used x() for array key check
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-05-22 13:09:07 +02:00
Roland Häder
291af19f25
Some improvements
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-05-22 13:06:22 +02:00
Roland Häder
b6648215b8
Opps, missed them
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-05-17 18:42:40 +02:00
Roland Häder
98b407218d
Fixes:
...
- don't do $string[position] anymore, use substr() instead
- 'extends' was hanging loose there, rewrote it twice to fix parser error
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-05-17 18:39:10 +02:00
Roland Häder
11c16f1123
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>
2017-05-17 18:32:03 +02:00
Roland Haeder
635b26353c
added spaces + some curly braces + some usage of dbm::is_result()
...
Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-05-17 15:08:15 +02:00
Hypolite Petovan
20043914e6
Move App to src
...
- Add `use Friendica\App;` wherever needed
2017-05-02 22:59:36 -04:00
Hypolite Petovan
56ee734b00
Cleanup /format pre-move
2017-05-02 22:59:24 -04:00