Michael
|
dca93a9606
|
Enable "magic" with Hubzilla
|
2024-05-26 12:44:08 +00:00 |
Michael
|
7dc5622dca
|
Issue #14079: Shorten the displayed URL
|
2024-04-11 04:37:42 +00:00 |
Michael
|
d2702dfe9c
|
Use centralized functions for tag string handling
|
2024-01-28 06:32:55 +00:00 |
Michael
|
89e7420237
|
Friendica copyright changed from 2023 to 2034
|
2024-01-02 20:57:26 +00:00 |
Michael
|
e4a37f344e
|
Individual callstacks are removed from the logger
|
2023-10-18 19:55:15 +00:00 |
Michael
|
09ce625d50
|
Remove the "www." from the styled URL
|
2023-06-06 20:41:54 +00:00 |
Michael
|
5966f0cc62
|
Function moved to the "Strings" class
|
2023-05-26 14:26:55 +00:00 |
Josh Soref
|
40094bbda7
|
Rewrite getBytesFromShorthand prose
|
2023-03-26 16:14:16 -04:00 |
Josh Soref
|
a3f4fe1ee9
|
spelling: shorthand
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
|
2023-03-26 16:14:16 -04:00 |
Josh Soref
|
da34800728
|
spelling: into
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
|
2023-03-26 16:11:27 -04:00 |
Michael
|
8a902afde5
|
Updated messages.po - again
|
2023-01-12 07:06:24 +00:00 |
Hypolite Petovan
|
1874a32728
|
Happy New Year 2023!
|
2023-01-01 09:36:24 -05:00 |
Hypolite Petovan
|
39607b20e2
|
Convert custom profile field URL values to rel="me" links
|
2022-12-18 23:24:59 -05:00 |
Hypolite Petovan
|
e6f8b8c6e0
|
Ward against preg_replace_callback null return value in Strings::performWithEscapedBlocks
- Add logging to troubleshoot potential issue with regex
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1335124938
|
2022-12-03 04:20:27 -05:00 |
Marek Bachmann
|
a3d8a59b00
|
Correctly output binary prefix values since base 2 is used for conversion
|
2022-11-30 04:37:08 +01:00 |
Marek Bachmann
|
75b01f669a
|
Check for inf values before try to converts bytes to binary prefix strings
|
2022-11-30 04:35:18 +01:00 |
Marek Bachmann
|
a01872a117
|
Merge branch 'develop' into show_image_upload_limit
# Conflicts:
# src/Util/Strings.php
# view/lang/C/messages.po
|
2022-11-27 23:52:58 +01:00 |
MarekBenjamin
|
765b50bde8
|
Update src/Util/Strings.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
|
2022-11-26 23:14:21 +01:00 |
MarekBenjamin
|
ce56cabd9f
|
Update src/Util/Strings.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
|
2022-11-26 23:12:46 +01:00 |
Marek Bachmann
|
6c73077bbc
|
whitespaces
|
2022-11-26 21:53:12 +01:00 |
Marek Bachmann
|
907deed523
|
introduced getBytesFromShorthand function to covert from shorthand notation to int
|
2022-11-26 21:43:31 +01:00 |
Hypolite Petovan
|
55640eec87
|
[Composer] Upgrade to phpseclib version 3
- Create custom Key file format for Salmon Magic key
- Remove obsolete pemToME and MEtoPem Crypto methods
- Remove unused newECKeypair Crypto method
- Switch to constant-time Base64 encode/decode in Base64Url Strings methods
|
2022-11-25 08:13:05 -05:00 |
Roland Häder
|
4c6940583a
|
Changes:
- added missing type-hints
- first access level, then static
- reformatted code following code-style
|
2022-08-19 19:12:30 +02:00 |
Roland Häder
|
a0c8fc6d6e
|
Changes:
- added more type-hints
|
2022-06-20 02:48:02 +02:00 |
Roland Häder
|
33768ea1c6
|
Some fixes:
- $gsid's default value cannot sadly be 0, it now must be null to allow some
code work
- added some more type-hints
- documented a bit more
|
2022-06-17 17:18:31 +02:00 |
Hypolite Petovan
|
510dacf4df
|
Escape BBCode tag parsing avoidance tags when processing abstracts
- Improve documentation for related methods
|
2022-05-07 22:19:50 -04:00 |
Balázs Úr
|
e56a53647b
|
Update copyright
|
2022-01-02 08:27:47 +01:00 |
Michael
|
cfac13790b
|
"escapeTags" is finally removed
|
2021-11-07 09:18:25 +00:00 |
Michael
|
f6faae5bb1
|
Replace deprecated `log` calls
|
2021-10-20 18:53:52 +00:00 |
Balázs Úr
|
054c301ef0
|
Update copyright
|
2021-03-29 08:40:20 +02:00 |
Hypolite Petovan
|
a7de06d280
|
Add deprecation notice on Strings::escapeTags
|
2020-09-13 20:01:55 -04:00 |
Hypolite Petovan
|
51925f2994
|
Add new endsWith method to Util\Strings
|
2020-06-17 13:24:44 -04:00 |
Hypolite Petovan
|
348b71d0b0
|
Add new Strings::performWithEscapedBlocks methods
- Add new BBCode::performWithEscapedTags method
- Add tests
|
2020-06-08 18:40:20 -04:00 |
Hypolite Petovan
|
75a0b80888
|
Add new Strings::startsWith method
- Move previous method to Strings::startsWithChars and update every known call
|
2020-05-18 01:05:38 -04:00 |
Hypolite Petovan
|
dcf59e34c1
|
Add new Strings::substringReplace method
- Add tests for the method
|
2020-03-30 10:49:53 -04:00 |
nupplaPhil
|
85dc9bb96b
|
Add license info at Friendica PHP files
|
2020-02-09 16:18:46 +01:00 |
Michael
|
0a4119adaf
|
@brief is removed completely
|
2020-01-19 06:05:23 +00:00 |
Michael
|
440da8a9f4
|
eol
|
2019-10-12 14:07:22 +00:00 |
Michael
|
c1ab93a5d8
|
Strings.php: Spaces are transformed to Tabs.
|
2019-10-12 10:28:18 +00:00 |
Hypolite Petovan
|
2c2beb5c0a
|
Revert Util\Strings::escapeHtml changes from #7725
- Breaks display of inserted mentions
|
2019-10-11 22:19:20 -04:00 |
dew-git
|
e1e1d26b5b
|
Revert random_int changes.
|
2019-10-11 00:00:15 -08:00 |
dew-git
|
b5dac16def
|
Comply with coding style.
|
2019-10-10 20:50:51 -08:00 |
dew-git
|
811cdcdfcb
|
Fix security vulnerbilities.
Fix possible length extension attack, predicable generators, timing attacks on hash comparision and improved formatting.
|
2019-10-10 15:21:41 -08:00 |
Philipp Holzer
|
4c5dd9f47c
|
Add more Strings::isHex() checks to photos
|
2019-05-30 10:30:15 +02:00 |
Philipp Holzer
|
3de540d1d1
|
Adding hexadecimal check for photos
see https://github.com/friendica/friendica/issues/6917#issuecomment-492798238
|
2019-05-29 20:28:25 +02:00 |
Hypolite Petovan
|
3395f56036
|
Add Unicode support to autolink regular expression
- Explicitly exclude non-breaking spaces from URLs as \s doesn't include them
|
2019-05-19 18:51:55 -04:00 |
Hypolite Petovan
|
6f94e51ba6
|
Add Strings::sanitizeFilePathItem method
|
2019-03-31 21:39:19 -04:00 |
Hypolite Petovan
|
0c738c4f8b
|
Exclude punctuation from domain in autolinker regular expression
|
2019-03-17 19:37:26 -04:00 |
Hypolite Petovan
|
8f96e383a7
|
Remove new lines from domain name part of autolinker regular expression in Util\Strings
- Fixes issue where the autolinker would include the next paragraph is a pathless URL was followed by new lines.
|
2019-03-11 14:37:56 -04:00 |
Hypolite Petovan
|
184b51ec56
|
Move autolink regex in Util\Strings
|
2019-03-09 23:25:53 -05:00 |