5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
800694e9b3
Remove unused use
statements & remove PConfig class
2020-01-18 17:02:59 +01:00
9e9429b56d
Move PConfig::get() to DI::pConfig()->get()
2020-01-18 16:50:57 +01:00
b83f328983
Remove "f" parameter / network page parameter cleanup
2020-01-13 20:10:13 +00:00
a4a7f19df1
Move redundant System::removedBaseUrl() to DI::baseUrl()->remove() calls
2019-12-30 23:03:56 +01:00
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
6d7362da41
Replace deprecated $a->page with DI::page()
2019-12-30 20:02:09 +01:00
33674808dc
Remove deprecated App::cmd - replace with DI::args()->getCommand()
2019-12-29 20:17:51 +01:00
e6f61c2cc7
Remove deprecated App::query_string - replace with DI::args()->getQueryString()
2019-12-29 20:17:50 +01:00
388b963714
Replace BaseObject class with DI::* calls
2019-12-29 20:17:38 +01:00
c037e9143c
Additionally display the protocol together with the network
2019-12-27 17:24:29 +00:00
Michael Vogel
9cf1aea8c9
Changed the option to enable the smart threading with the option to disable this
2019-12-04 21:21:20 +01:00
Michael Vogel
bd6774bd9b
Fix fatal errors, caused by an empty "verb"
2019-11-18 07:39:56 +01:00
fc94cad5f2
Pinned posts now work for visitors in the intended way
2019-11-08 06:52:44 +00:00
806e6a230e
Added description, removed sorting
2019-11-07 07:41:54 +00:00
91ad7936f3
Only sort the profile after pinned
2019-11-07 07:39:50 +00:00
463c9131b6
Pinned items are always at the top
2019-11-07 07:09:46 +00:00
Philipp Holzer
3897c74deb
Add docs
2019-10-25 00:10:20 +02:00
Philipp Holzer
07cea24430
Move Activity/Namespaces defines to constants
2019-10-24 21:40:12 +02:00
Philipp Holzer
edf006905b
Move (last) get_cats_and_terms to Content\Item::determineCategoriesTerms()
...
- Added incomplete test
2019-10-23 02:48:46 +02:00
Philipp Holzer
52c42491c4
Move activity_match() to Protocol\Activity::match()
...
- With tests
2019-10-23 02:05:11 +02:00
8b836189d4
Replace deprecated defaults() calls with ?? and ?: in include/ and view/
2019-10-16 08:51:03 -04:00
83b00ef308
New function "isAuthenticated"
2019-09-28 18:09:11 +00:00
9cbf320c86
Issue 7563: Use icons instead of names on posts
2019-08-28 06:38:35 +00:00
fc59aa6bc7
The "contact-uid" is now a reliable proof for contacts that we follow
2019-08-03 10:44:16 +00:00
5120c27d10
Fix displaying of reshared items
2019-07-27 20:21:11 +00:00
6bb418c5a7
Use "received" instead of "created" when displaying posts in creation order
2019-07-07 21:30:33 +00:00
6041f74df6
New constant for federated protocols
2019-07-01 18:00:55 +00:00
01e71254d9
Replace defaults() calls on $_SESSION by Core\Session calls
...
- Replace direct calls to $_SESSION by Core\Session calls in Module\Login
2019-05-26 21:26:59 -04:00
d8ed5482aa
Improved reshare check
2019-04-21 17:09:01 +00:00
0d49d0593d
Don't show a reshare in the top of a message if we know the author
2019-04-19 07:47:00 +00:00
4a30490ac9
Fix: Only use reshare information for the top level post
2019-04-05 08:59:39 +00:00
d73b6015d8
Set the newest resharer as owner of a thread
2019-04-03 18:51:50 +00:00
a0fddca407
Display if an item is reshared
2019-04-02 05:38:42 +00:00
cbe574f6f6
Preparation to be able to store "announce" activities
2019-03-28 05:45:50 +00:00
1f0c662854
The contact menu now displays the contact and posts link as well
2019-03-11 20:42:32 +00:00
bd7aaacfb0
fixing links in photoMenu
2019-02-26 10:19:08 +01:00
34bc0b0c97
Add potential debug display of implicit mentions in frio
...
- Refactored conversation() by removing extraneous intermediary variables
2019-02-23 17:32:11 -05:00
7320c5e8e8
Normalize Contact::magicLinkByContact method name
2019-02-23 17:32:10 -05:00
642f9409a7
Switch tag of expanded like list to paragraph
2019-02-14 22:17:08 -05:00
9b27d049dc
Add missing break statements in include/conversation
...
- Remove bad variable initialization in format_like()
2019-01-21 11:38:54 -05:00
b161bd1dfa
Improve get_responses() prototype
2019-01-21 11:37:05 -05:00
ce177f22c8
Fix doc blocks and return value type
2019-01-21 11:36:01 -05:00
7f2dc40601
Fix potential bugs without expected behavior change
...
- Fix uninitialized variables
- Fix potentially not set variables
- Fix wrong parameter default value
- Fix method scope
- Fix missing return value
2019-01-21 11:04:19 -05:00
da7706ce61
Remove unused code in include/
...
- Remove unused variables
2019-01-21 10:53:33 -05:00
070aa016e0
Update more PHPDoc, including in include/
2019-01-21 10:39:28 -05:00
55e54bb950
Replace deprecated Addon::callHooks with Hook::callAll
...
- Update documentation
2019-01-21 09:50:56 -05:00
bb0d7a5c51
Don't show "follow" activity
2018-12-25 19:50:40 +00:00
38109665c7
Various improvements/fixes
...
- Fix potential missing variable
- Improve replaceMacros doc
- Fix CSS value in smoothly
2018-12-16 22:38:30 -05:00
f6c3974c8f
Issue 6257: Make notes visible again
2018-12-13 20:09:19 +00:00
f2e2066d33
Non public content is now displayed again to visitors.
2018-12-09 13:09:49 +00:00
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
b9efe5a532
Show contact posts from hidden users
2018-11-25 18:50:41 +00:00
c23d1b2776
Urlencode /network file parameter
2018-11-23 10:02:30 -05:00
43079bfaf8
Several default features are now in the core
2018-11-18 20:13:46 +00:00
Adam Magness
218f0734be
Rename removeTags to escapeTags
...
rename function and update calls.
2018-11-09 13:29:42 -05:00
Adam Magness
ffc406d819
normalise_link calls
...
implement normaliseLink function
2018-11-08 11:28:29 -05:00
Adam Magness
a0f65ca7a1
notags calls
...
implement removeTags function
2018-11-08 10:14:37 -05:00
Adam Magness
7cb9138201
Move another function
...
move get_plink to Item class, and also fix up getApp since we extend BaseObject
2018-11-07 07:19:39 -05:00
Adam Magness
e537f7d017
Function calls
...
update function calls to new class
2018-11-06 21:16:27 -05:00
6e10bdf361
Move random Digits to Crypto class
2018-11-05 21:02:54 +01:00
Adam Magness
9e51be7554
Revert "Update function calls"
...
This reverts commit 748fb8b946
.
2018-11-05 13:07:07 -05:00
Adam Magness
748fb8b946
Update function calls
...
update function calls to new class
2018-11-05 07:40:18 -05:00
Adam Magness
b07d47b0f7
Update function calls
...
update function calls to new names
2018-11-05 07:24:14 -05:00
Adam Magness
61bc9facc8
Implement functions
...
implement functions relocated to xml class
2018-11-05 07:24:14 -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
14237a9599
Move $pager and $page_offset out of App
...
- Move infinite scroll data output in a module hook
- Use Pager instead of paginate() and alt_pager()
2018-10-25 00:07:15 -04:00
9c9ebfc7c9
Merge pull request #6013 from JonnyTischbein/issue_comment_media_link_prompt
...
[frio] Add media / link prompt in comments
2018-10-24 12:17:58 -04:00
Jonny Tischbein
d2b5f77be9
Add multimedia link for jot + enables hover text in jot + autosize in when paste link + renaming / Code Standards
2018-10-24 16:20:10 +02:00
3edad1591e
replaced $return_url to $return_path to make it more clear that it is a relative path to the Friendica baseurl
2018-10-22 22:13:37 +02:00
8e11f055b1
Improve PR 5984: better check for remote users as well
2018-10-21 21:56:46 +00:00
9b387a226c
Fix webmentions and microformats ("redir" only for logged in users)
2018-10-21 20:23:08 +00:00
Adam Magness
370ee08fcc
Remaining contacts to contact
...
Update occurrences of contacts/ to contact/
2018-10-17 07:49:27 -04:00
9fbaaa1481
We now can show "Friendica (AP)" as network name
2018-10-05 19:26:20 +00:00
505350c9fb
Merge pull request #5794 from annando/ap1
...
ActivityPub support
2018-10-02 11:24:04 -04:00
Michael Vogel
103535d620
Merge pull request #5773 from MrPetovan/task/rewrite-js-hooks
...
Rewrite JS hooks
2018-10-01 17:10:30 +00:00
c083ae047c
Merge remote-tracking branch 'upstream/2018.08-rc' into ap1
2018-09-22 15:18:53 +00:00
c6268ca0b7
Issue 5760: Avoid a non numeric value for "tt"
2018-09-22 14:17:14 +00:00
Hypolite Petovan
1eaa523e61
Remove unused App->page['end']
...
- Remove unused empty templates
2018-09-20 21:02:28 -04:00
61e2c7d20d
Added AP to many network conditions / enabling inbox processing
2018-09-14 16:51:32 +00:00
Michael Vogel
601851f3d0
Removed notice - pokes do now work mostly ( #5693 )
2018-08-29 09:00:01 -04:00
Michael Vogel
99b8f85624
Poke is fixed ( #5689 )
...
* Fix: Poke hasn't worked. It does work now partially
* Poke are now displayed good again
* removed code
2018-08-28 15:38:28 -04:00
Michael Vogel
edcd0a3744
Issue 4960: Ignoring and blocking of contacts should work again ( #5657 )
...
* Issue 4960: Ignoring and blocking of contacts should work again
* Renamed functions
* This function should be renamed as well.
* We now have a frontend to block and ignore public contacts
* Hide some parts for public contacts
* Removed notices, public contact is now accessible from dirfind as well
* We now show contact conversations and contact posts
* We now use a new conversation mode
* The update functionality is disabled until it will work completely
* Fixing tabs chaos
* Update after posts on the contacts page will now work
* Show connect link
2018-08-25 09:48:00 -04:00
1fb5925073
The notes are now fetching their content from a central function
2018-08-21 07:35:22 +00:00
Michael Vogel
d9b44153da
The content generation for the display page is now using a centralized function ( #5642 )
...
* The content generation for the display page is now using a centralized function
* Small correction to avoid notices
2018-08-20 16:32:55 -04:00
Michael Vogel
16a081871c
Improved profile page, improved "limit" handling ( #5639 )
...
* Improved profile page, improved "limit" handling
* Update will now work again
* Update will work now
2018-08-20 06:26:05 +02:00
Michael Vogel
dfe4413463
Avoid blocks with invalid entries in superblock ( #5635 )
2018-08-19 12:14:12 +02:00
Roland Häder
e06fc2aa69
Stopped using deprecated constants NETWORK_* ( #5537 )
...
* Rewrite:
- stopped using deprecated NETWORK_* constants, now Protocol::* should be used
- still left them intact for slow/lazy developers ...
* Removed deprecated NETWORK_* constants as per code reviewer's request.
2018-08-11 22:40:44 +02:00
a8016e4187
Issue 4507: Superblock does now work on comments as well
2018-08-10 04:27:52 +00:00
Roland Häder
4d39164c1e
[WIP] Rewrite to Proxy class: ( #5507 )
...
* Rewrite to Proxy class:
- introduced new Friendica\Network\Proxy class for in exchange of proxy_*()
functions
- moved also all PROXY_* constants there as Proxy::*
- removed now no longer needed mod/proxy.php loading as composer's auto-load
will do this for us
- renamed those proxy_*() functions to better names:
+ proxy_init() -> Proxy::init() (public)
+ proxy_url() -> Proxy::proxifyUrl() (public)
+ proxy_parse_html() -> Proxy::proxifyHtml() (public)
+ proxy_is_local_image() -> Proxy::isLocalImage() (private)
+ proxy_parse_query() -> Proxy::parseQuery() (private)
+ proxy_img_cb() -> Proxy::replaceUrl() (private)
* Ops, need to set $a here ...
* CR request:
- moved Proxy class to Friendica\Module
- extended BaseModule
* Ops, no need for own instance of $a when self::getApp() is around.
* Proxy-rewrite:
- proxy_url() and proxy_parse_html() are both non-module functions (now
methods)
- so they must be splitted into a seperate class
- also the SIZE_* and DEFAULT_TIME constants are both not relevant to module
* No instances from utility classes
* Fixed error:
- proxify*() is now located in `Friendica\Util\ProxyUtils`
* Moved back to original place, ops? How did they move here? Well, it was not
intended by me.
* Removed duplicate (left-over from split) constants and static array. Thank to
MrPetovan finding it.
* Renamed ProxyUtils -> Proxy and aliased it back to ProxyUtils.
2018-07-30 22:06:22 -04:00
Roland Häder
37253656e3
Moved CONTACT_* constants to Friendica\Model\Contact class, lesser in global namespace ( #5490 )
...
* Rewrite:
- moved all CONTACT_* constants from boot.php to Contact class
* CR request:
- renamed Contact::CONTACT_IS_* -> Contact::* ;-)
2018-07-24 22:53:46 -04:00
Hypolite Petovan
ecea7425f8
Rename DBA::is_result to DBA::isResult
2018-07-23 11:04:14 -04:00
Hypolite Petovan
0ec44f3e8a
Rename DBM method calls to DBA method calls
2018-07-23 11:02:24 -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
5af9596dde
New item field "Post-type" and new table "permissionset" ( #5408 )
...
* "post-type" replaces "bookmark" and "type"
* Removed some more type
* Added index to permission set
* The permission set is now stored
* The permission set is now removed upon expiry
* Post update now stores the permission set
* New file
* Permissions are now sorted
* Changed documentation
2018-07-19 09:52:05 -04:00