Hypolite Petovan
4db98eb43d
Rename DBA::inArray to DBA::toArray
2018-07-22 19:27:35 -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 Vogel
66a103e36a
Merge pull request #5295 from MrPetovan/task/4889-move-config-to-config
...
Move configuration to config/
2018-07-18 11:04:35 +02:00
Roland Häder
fd8897851f
Fixes for OEmbed class ( #5392 )
...
* Fixes:
- stdClass is clearly an object of `\stdClass`, so let's import it and set it
as type-hint here
- if $o->type is not found, don't continue
Signed-off-by: Roland Häder <roland@mxchange.org>
* Fix for a fix due to 02:51 a.m. (!) edits ...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-07-17 16:28:20 -04:00
Roland Häder
04b513ba95
Fixed E_NOTICE when 'title' is absent (uninitialized array key) ( #5390 )
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-07-17 01:13:22 -04:00
Hypolite Petovan
67dc08d120
Enforce systen.register_policy value type
2018-07-16 19:38:19 -04:00
Hypolite Petovan
d0780ccf7d
Replace global $lang with system.language
2018-07-16 19:38:17 -04:00
Hypolite Petovan
762a786611
Replace direct accesses to App->config by Config::get/set calls
2018-07-16 19:38:16 -04:00
Michael Vogel
d3a2ed85fe
Next item structure works ( #5380 )
...
* Use "LEFT JOIN" to always fetch the item. Needed for update routines.
* New conversion routine that now covers every item
* Post update is now activated
* We now use a hash based upon RIPEMD-320 for content and activity
* The hash doesn't contain the plink anymore
* Legacy item fields are now "null"able
* New hash function for a server unique item hash
* Introduction of the legacy mode (usage of old item fields)
* Code simplification
* We don't need the "uri" fields anymore in item-activity and item-content
* Use the "created" and not the "received" date for the hash
* Avoiding several notices
* Some more warnings removed
* Improved uri-hash / Likes on Diaspora are now getting a creation date
* Corrected the post update version
* Ensure an unique uri-hash
* Don't delete orhaned item data at the moment
* Partly reworked, due to strange behaviour
* Some more parts reworked
* Using the uri currently seems to be more reliable
* Using the uri here as well
* Use the hash values again
* Grouped item fields in different categories
* Notices again
* use the gravity (we always should)
* Added hint for disabled post updates
* Notices ...
* Issue #5337 : Personal notes are displayed again
* Use the gravity again
2018-07-15 14:36:20 -04:00
Hypolite Petovan
ffc8b2a79a
Rework smilies class and module
...
- Add new replaceFromArray function to enable smilies replacement with
an arbitrary array
- Moved $sample logic from class to module
2018-07-15 08:03:12 -04: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
3e797547a3
Warnings fixed
2018-07-08 09:37:05 +00:00
Michael
1905242a16
Added support for internal Diaspora links to accounts
2018-06-30 22:37:44 +00:00
Hypolite Petovan
6191fab4d7
Merge pull request #5216 from abanink/2337
...
solves 2337 Smiley Pack 1.04: some smiley keywords aren't replaced correctly
2018-06-14 15:36:21 -04:00
Pascal Deklerck
ce4b793acf
solves 2337 Smiley Pack 1.04: some smiley keywords aren't replaced correctly
2018-06-14 21:09:55 +02:00
Michael
5bfd424fd2
Clean up tag claud (remove "item_condition()" call)
2018-06-10 15:19:52 +00:00
Hypolite Petovan
0eafea86ed
Merge pull request #5163 from annando/bugfix-user-item
...
Fix SQL error in tagcloud
2018-06-02 13:49:58 -04:00
Michael
41423e578a
Fix SQL error in tagcloud
2018-06-02 17:07:28 +00:00
Michael
8a34895a23
Use magicLink whenever possible
2018-06-02 08:05:06 +00:00
Michael
df531cd400
Don't proxy pictures when they are sent to other networks
2018-05-21 10:15:50 +00:00
Tobias Diekershoff
eec0826750
added link to the TOS page if it is activated
2018-05-16 11:57:06 +02:00
Tobias Diekershoff
7f7ccc3f51
the widget is not needed here
2018-05-09 12:49:29 +02:00
Tobias Diekershoff
21f9f74ad0
use Archives for the additional feature setting like it is used in the network sidebar
2018-05-09 12:32:47 +02:00
Michael
c33df7a05e
Fix video display problems with videos with parameters
2018-05-06 16:57:46 +00:00
Michael
7230cc0bed
Merge remote-tracking branch 'upstream/develop' into item-distribution
2018-04-24 04:23:38 +00:00
Tobias Diekershoff
e51a017d92
Merge pull request #4917 from annando/show-private-forums
...
Show private forums in the sidebar
2018-04-23 18:47:21 +02:00
Michael
c3ee596ff4
Show private forums in the sidebar
2018-04-23 16:41:00 +00:00
Hypolite Petovan
a66e9b81ba
Merge pull request #4873 from astifter/develop
...
Remove pagination when empty, move new Member Tips and use common widget to find people.
2018-04-23 10:23:21 -04:00
Michael
ba35b19af6
Public federated items now always are having an entry with "uid=0"
2018-04-23 11:14:25 +00:00
Michael Vogel
37e5272f92
Merge pull request #4881 from MrPetovan/task/4867-guess-language-from-plaintext
...
Guess language from plaintext
2018-04-23 00:26:05 +02:00
Friendica
390983a331
Haromonize Find People Widget.
...
In the right_aside on the /contacts page in the left aside there are
almost identical widgets to search for contacts. Drop one and use common
widget in both places.
2018-04-22 20:44:22 +00:00
Michael
16beab4652
Better working with private forums
2018-04-21 21:59:02 +00:00
Hypolite Petovan
1e67c32142
Fix BBCode::getAbstract scope
2018-04-21 04:38:27 -04:00
Hypolite Petovan
ec9baef968
Add new Content\BBCode::toPlaintext()
2018-04-21 04:10:25 -04:00
Hypolite Petovan
5476da53aa
Move Content\BBCode::toPlaintext() to Model\Item::getPlaintextPost()
2018-04-21 04:09:45 -04:00
Hypolite Petovan
369518e7b6
[BBCode] Improve support for strikethrough
2018-04-10 06:23:40 -04:00
Hypolite Petovan
37505f8f28
Fix variable name typo in ContactSelector::profileAssign
2018-04-06 21:54:53 -04:00
Hypolite Petovan
7413dc62f0
Remove trailing whitespaces in Content\ContactSelector
2018-04-06 21:54:22 -04:00
Michael
8d68e865c1
Fixes warning "missing terminating ] for character class"
2018-04-06 09:11:10 +00:00
Michael
4a909fcfcf
Bugfix: The rendering with images with width and height was broken
2018-04-05 06:01:36 +00:00
Michael
08c85c425b
Added support of alt texts in images
2018-04-04 22:23:17 +00:00
Hypolite Petovan
80b6dc5787
Add fallback to regular code if language doesn't exist
2018-03-29 19:29:36 -04:00
Hypolite Petovan
586b0b6e57
Add bash to text_highlight language list
2018-03-29 19:29:09 -04:00
Hypolite Petovan
09f04c1985
Add Image::getInfoFromURL return check
2018-03-24 20:03:55 -04:00
Hypolite Petovan
c5cd569447
Restore previous permission comment in Widget\CalendarExport
2018-03-23 06:34:21 -04:00
Hypolite Petovan
d36bc29ce9
Finally fix the permissions for Widget\CalendarExport
2018-03-23 06:34:21 -04:00
Hypolite Petovan
72b552895e
Restore missing permission check in Widget\CalendarExport
2018-03-23 06:34:21 -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
Hypolite Petovan
8c956ac0c8
Add new classes
...
- Add Model\Event class
- Add Content\Widget\CalendarExport class
2018-03-23 06:32:08 -04:00
Hypolite Petovan
27d94023ee
Merge branch 'master' into develop
2018-03-23 06:15:55 -04:00
Michael
dccfc83a2d
No display improvements for regular posts
2018-03-22 20:47:31 +00:00
Michael
318de2f590
Merge remote-tracking branch 'upstream/3.6-rc' into url-shorten-ostatus
2018-03-22 20:42:29 +00:00
Michael
f4ba5d9799
Fix: Events on Diaspora now should look fine
2018-03-20 06:32:17 +00:00
Michael
e1a72b8f5a
Visible URL are shortened when transmitting to OStatus
2018-03-16 20:50:53 +00:00
Michael
4ba3ba391a
The attachment text had already been in HTML and mustn't be converted again
2018-03-14 22:51:14 +00:00
Michael
8c42e2e62e
Avoid double encoding of the attachment content
2018-03-14 21:47:24 +00:00
Michael
052ad155a2
Issue 4115: Events are now formatted better for Diaspora
2018-03-11 21:10:36 +00:00
Michael
fbb38837b0
Shortener deactivated, due to Diaspora problems
2018-03-11 12:16:17 +00:00
Michael
229fb0439e
Links to Diaspora had sometimes been cut
2018-03-11 10:54:02 +00:00
Michael
7706616640
Bugfix: Reshare with added content to Diaspora looked ugly
2018-03-09 20:04:31 +00:00
Michael
c438e47827
Bugfix: Avoid "Class not found" error
2018-03-08 19:58:35 +00:00
Hypolite Petovan
789561c7a2
Remove/Update references to include/html2*.php
2018-03-07 16:34:17 -05:00
Hypolite Petovan
5e806ff598
Replace html2plain calls by HTML::toPlaintext
2018-03-07 16:29:44 -05:00
Hypolite Petovan
b5666bd27f
Replace html2bbcode calls by HTML::toBBCode
2018-03-07 16:24:13 -05:00
Hypolite Petovan
1df4bb6db8
Create Content\Text\HTML class
...
- Move BBCode::cleanCss to HTML::sanitizeCSS
2018-03-07 16:20:04 -05:00
Hypolite Petovan
fe5ce67ef8
Move bb2diaspora() content to Content\Text\BBCode::toMarkdown
...
- Use self where appropriate
- Add BaseObject extension
2018-03-04 17:34:59 -05:00
Hypolite Petovan
a233ce1658
Create Markdown::toBBCode() method
...
- Create private callback Markdown::diasporaMention2BBCodeCallback
2018-03-04 08:31:05 -05:00
Hypolite Petovan
41678ec3cd
Add no_update flag to speed up Contact::getIdForURL instances
2018-03-01 19:54:45 -05: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
29f5270313
Remove unused parameter preserve_nl in BBCode::convert
2018-02-14 21:31:28 -05:00
Hypolite Petovan
ee380c3149
Fix undeclared variable in Content\Text\BBCode
2018-02-14 20:25:23 -05:00
Hypolite Petovan
4bc1672921
Add paragraph to BBCode conversion of [quote]
2018-02-12 22:37:30 -05:00
rabuzarus
342b9af734
fix undeclared variables or wrong variable names (/src)
2018-02-12 16:08:28 +01:00
rabuzarus
9a4d19e284
move membersince addon to core
2018-02-09 20:44:45 +01:00
Michael
15a857e411
Line endings are converted to unix style
2018-02-09 03:49:49 +00:00
Michael
87280ebf57
Bugfix: a forgotten "use" in bbcode.php
2018-02-08 06:08:07 +00:00
Tobias Diekershoff
85c8bf0228
Merge pull request #4399 from MrPetovan/task/3878-move-include-bbcode-to-src
...
Move include/bbcode to src/ part 1 : Everything but bbcode()
2018-02-07 07:18:39 +01:00
rabuzarus
91a346960a
fix tagcloud
2018-02-05 21:05:11 +01:00
Hypolite Petovan
a0cdd9c674
Rename Core\Network to Core\Protocol
2018-02-05 12:57:41 -05:00
Hypolite Petovan
157027a6f5
Improve BBCode documentation/comment
2018-02-05 11:42:06 -05:00
Hypolite Petovan
d75bb8e970
Rename BBCode::removeAbstract() to BBCode::stripAbstract()
2018-02-04 23:38:40 -05:00
Hypolite Petovan
6e53c615c4
Add missing requires in Text\BBCode
2018-02-04 19:33:39 -05:00
Hypolite Petovan
010cf3b1e8
Update references to BBCode methods
...
- Resolve name conflicts with Util\Network
2018-02-04 19:26:22 -05:00
Hypolite Petovan
f91ad28319
Copy include/bbcode functions to src methods
...
- Add Core\Network class
2018-02-04 19:25:22 -05:00
Hypolite Petovan
507bea0e9f
Copy functions from include/tags to src
...
- Create Content\Widget\TagCloud
- Populate Worker\TagUpdate::execute
- Add Content\Widget::tagCloud
- Add Model\Term::insertFromItemId and Model\Term::insertFromItemUri
2018-02-03 23:51:40 -05: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
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
Michael
6871481a78
Moved "limitBodySize"
2018-01-28 17:36:37 +00:00
Michael
d6af08fb36
FetchUrl is not FetchURL ...
2018-01-27 23:53:56 +00:00
Michael
c2a9036145
OEmbed function was called with the wrong class name
2018-01-27 23:17:37 +00:00
Adam Magness
6c80a35953
type
...
friendica typo
2018-01-27 12:15:42 -05:00
Adam Magness
f04d40a37e
Review update
...
Rename function, move others
2018-01-27 11:13:41 -05:00
Adam Magness
0f1be37279
Remove old file
...
remove network.php and all require_once statements
2018-01-27 08:28:20 -05:00
Adam Magness
1eb7c19c1e
Move multiple functions
...
move multiple smaller functions
2018-01-26 23:51:41 -05:00
Adam Magness
c67452f72e
Move fetch_url
...
move fetch_url function
2018-01-26 23:09:48 -05:00