Hypolite Petovan
11a4a57bfe
Update HTML::contactBlock and Profile::load with new ContactBlock widget
2019-01-21 10:55:36 -05:00
Hypolite Petovan
4a95ca280d
Remove unused code
...
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
- Remove duplicate array keys
2019-01-21 10:48:40 -05:00
Hypolite Petovan
cb3f09ae4f
Refactor namespaces
...
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
Hypolite Petovan
070aa016e0
Update more PHPDoc, including in include/
2019-01-21 10:39:28 -05:00
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
Hypolite Petovan
55e54bb950
Replace deprecated Addon::callHooks with Hook::callAll
...
- Update documentation
2019-01-21 09:50:56 -05:00
rabuzarus
528d175baa
Bugfix - provide magic links for remote user in magicLink()
2019-01-18 17:50:21 +01:00
Hypolite Petovan
b7b7b1b664
Add support for Hubzilla forum mentions (starting with !)
2019-01-08 20:56:01 -05:00
Hypolite Petovan
5e1ceb57de
Escape global namespaced get_app() calls
...
- Add deprecated status
2019-01-03 21:27:36 -05:00
Michael
fd6c64f9c1
Warning and notice fixed
2018-12-29 09:53:31 +00:00
Hypolite Petovan
761e94d134
Remove redundant htmlentities/htmlspecialchars
2018-12-25 11:37:57 -05:00
Hypolite Petovan
b6e1571b1e
Fix various notices
2018-12-15 04:32:47 -05: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 Vogel
42a3610a79
Merge pull request #6184 from MrPetovan/task/normalize-bbcode-hashtags
...
Normalize BBCode hashtags links
2018-11-24 13:14:50 +01:00
Hypolite Petovan
9774fd8be9
Remove unused parameter $save in HTML::search
...
- Remove unused variables in saved_search()
2018-11-23 09:53:14 -05:00
Hypolite Petovan
ee88de1ef9
Normalize BBCode Hashtag replacement
2018-11-22 09:34:17 -05:00
Michael
43079bfaf8
Several default features are now in the core
2018-11-18 20:13:46 +00:00
Adam Magness
b5a97c1abe
Move getTags to BBCode
...
move getTags function to BBCode class and update calls.
2018-11-09 13:24:19 -05:00
Adam Magness
ffc406d819
normalise_link calls
...
implement normaliseLink function
2018-11-08 11:28:29 -05:00
Adam Magness
991f259ecb
random_string calls
...
implement getRandomHex function
2018-11-08 08:45:46 -05:00
Adam Magness
e537f7d017
Function calls
...
update function calls to new class
2018-11-06 21:16:27 -05:00
Michael
ffb03517b6
Fixes PR 6085
2018-11-06 14:00:31 +00:00
Adam Magness
4f07ebb52f
Rename properly
...
rename function properly this time!
2018-11-06 06:34:32 -05:00
Adam Magness
3eecd108c5
rename function
...
rename function and update calls.
2018-11-06 06:31:48 -05:00
Adam Magness
237fc30b4e
Missed use
...
fix missing use statement
2018-11-05 21:45:44 -05:00
Adam Magness
591c00dd5c
bug fix
...
fix variable
2018-11-05 21:26:58 -05:00
Adam Magness
a71eb1d127
functions moved to HTML class
...
update function calls to moved class.
2018-11-05 21:06:26 -05:00
Adam Magness
e31dde6084
Split text.php to HTML class
...
move functions from text.php to src/Content/Text/HTML
2018-11-05 20:27:22 -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
eb714f0487
Diaspora: Widen the magic link regular expression
2018-10-18 22:39:06 -04:00
Hypolite Petovan
ee32cf6b92
Restore preshare prepending in BBCode::convertShare
...
Fixes #5955
Follow-up to #5942
2018-10-18 11:23:48 -04:00
Hypolite Petovan
057385a4ec
Add $is_quote_share parameter to convert share callback
...
- Restore former behavior when content is present before [share] block
2018-10-17 08:20:56 -04:00
Hypolite Petovan
9239ecc5e0
Rework BBCode::convertShare to accept a callback function
...
- Create default convertShare callback from previous code
- Remove $simplehtml = 8 case (moved to Twitter addon)
2018-10-17 01:13:18 -04:00
Hypolite Petovan
a769efae38
Remove whitespace clearing around code tags
...
- Normalize inline code blocks to <code>
2018-10-14 07:43:44 -04: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 Vogel
bd0515714c
Merge pull request #5765 from MrPetovan/bug/php7-remove-pear-text_highlighter
...
[php7] Remove PHP code highlighting
2018-09-18 18:34:46 +00:00
Hypolite Petovan
382a7f5acd
Create new HTML::toMarkdown wrapper
2018-09-17 23:17:41 -04:00
Hypolite Petovan
96ed7525b7
Improve whitespace display from/to BBCode/HTML
2018-09-16 09:05:54 -04:00
Hypolite Petovan
ba4f368b45
Remove references to pear/Text_Highlighter
2018-09-16 09:05:00 -04:00
Hypolite Petovan
d6adcb9734
Remove text highlighting from BBCode::convert
...
- Move code blocks escaping from BBCode::toMarkdown to BBCode::convert
- Use "language-" class prefix for expected syntax highlighting
2018-09-16 09:04:25 -04:00
Hypolite Petovan
9d0a6f90b6
Update "mrpetovan" email address
...
- Fix Tobias' email address
- Fix copypasted doc block in Console/PostUpdate
2018-09-15 19:28:38 -04:00
Michael
1d4a5402ff
Picture posts do work again - everything else should work as well
2018-09-06 20:30:16 +00:00
Michael
04fb885857
Fix: Posts with pictures will now look good again on connector networks
2018-09-06 04:24:34 +00:00
Hypolite Petovan
69e7c7feca
Fix photo attachment display
...
- Remove double image display
- Add domain link display to all attachments
2018-09-02 17:26:05 -04:00
Michael Vogel
060e887a31
And still there are notices that have to be removed ... ( #5629 )
...
* And still there are notices that have to be removed ...
* Notice removed in ACL part
* Fix missing fields for notifications
* Fixes issue 5630
2018-08-18 08:20:50 +02:00
Michael
170dd2a705
Some more removed notices
2018-08-10 19:39:43 +00:00
Michael Vogel
8c2efa6df4
Facebook and App.net is removed from nearly all places ( #5581 )
...
* Facebook is removed from nearly all places
* Remove app.net as well - it's dead for some time now
2018-08-07 17:06:51 +02:00