Commit graph

53 commits

Author SHA1 Message Date
Hypolite Petovan 4f7740264e Replace "group" with "circle" in the rest of the code
- Remaining mentions already mean "forum"
2023-05-27 22:01:45 -04:00
Josh Soref 93c93bf69f spelling: private
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref 8165fb8091 spelling: group
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:07 -04:00
Josh Soref 72cc354214 spelling: community
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Michael f542211189 Mode depending control for the behaviour with blocked contacts 2023-01-12 06:25:55 +00:00
Hypolite Petovan 1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Philipp 119f9d9d27
Merge pull request #12094 from MrPetovan/task/hide-reply-counts-ping
Remove non-top-level posts from notification labels when network sort order is "received"
2022-11-04 18:00:15 +01:00
Hypolite Petovan 811e144e9e Move viewcontact_template and contact_template to contact/ folder 2022-11-04 07:03:55 -04:00
Hypolite Petovan da3041a4d4 Add new Conversation\Network::getTimelineOrderBySession method 2022-11-04 06:42:37 -04:00
Philipp Holzer eecc456e0c
UserSession class [5] - Refactor src/Module/ files with DI 2022-10-20 22:59:39 +02:00
Michael c9f17e1ef5 old boot.php functions replaced in src/module (2) 2022-10-19 09:06:09 -04:00
Philipp Holzer 3a8bcb3fbf
Move Core\Session::set() to DI::session()->set() 2022-10-18 21:12:23 +02:00
Philipp Holzer 7ac86e49d1
Move Core\Session::get() to DI::session()->get() 2022-10-18 21:10:37 +02:00
Roland Häder 26e0469de7
Merge branch 'develop' into rewrite/gravity-constants 2022-10-18 16:34:40 +02:00
Michael fdfa1f8630 The notice and info have been moved 2022-10-17 18:55:22 +00:00
Roland Häder da66730e4f
Rewrite:
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:

From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
Michael 3911c9450b (Hopefully) SQL improvements 2022-09-24 17:56:07 +00:00
Roland Häder 99902bb478
Changes
- ops, also this needs change since null is no longer wanted
2022-06-30 14:52:37 +02:00
Roland Häder 5c0e8c62de
Changes
- renamed Widget::accounttypes() to Widget::accountTypes()
- fixed type-hint the documentation was wrong
2022-06-30 14:50:28 +02:00
Michael 666b3bbca3 Use "received" for starred posts 2022-04-21 13:58:24 +00:00
Michael 5a41c2039a Order starred posts and posts with mention by the last comment date 2022-04-21 05:52:08 +00:00
Michael 2236e5cfb0 Issue 11425: Additional sorting by creation date 2022-04-20 21:03:33 +00:00
Michael 9a764516d0 Use the "contact-type" instead of "forum" or "prv" 2022-02-09 06:52:16 +00:00
Balázs Úr 733f3de9ed Add missing copyright text 2022-01-02 10:49:50 +01:00
Philipp Holzer 8bdd90066f
Make BaseModule a real entity
- Add all dependencies, necessary to run the content (baseUrl, Arguments)
- Encapsulate all POST/GET/DELETE/PATCH/PUT methods as protected methods inside the BaseModule
- Return Module content ONLY per `BaseModule::run()` (including the Hook logic there as well)
2021-11-27 12:40:36 +01:00
Philipp Holzer 5879535822
Switch static::$parameters to $this->parameters 2021-11-14 23:49:07 +01:00
Philipp Holzer 489cd0884a
Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
Philipp Holzer 714f0febc4
Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Hypolite Petovan 6db211568a Remove most calls to date_default_timezone_* calls
- It was wrongly used to set the node-wide ot user-specific timezone
- It is now fully managed from the App object
- Add a static variable to DateTimeFormat maintain the convenient local() method
2021-10-03 13:42:31 -04:00
Michael Vogel fc9ac0ff46
Update src/Module/Conversation/Network.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-10-02 23:18:54 +02:00
Michael bd85babc3e Fixing "Unknown column 'network-thread-view.uri-id'" 2021-10-02 20:56:11 +00:00
Michael 0ad904c185 The conversation functionality moved to a class 2021-09-23 21:18:36 +00:00
Michael c81e81dc8d "getUserId" is now "getLoggedInUserId" 2021-08-09 20:33:46 +00:00
Michael 28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Michael fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Michael ace89197ff Display the forum posts in the new format. 2021-06-05 20:29:19 +00:00
Michael 2bb8e7a56f Prohibit combined usage of "star" and "mention" 2021-02-21 12:18:50 +00:00
Michael ab34cbbfec Reset "star" and "mention" on new order 2021-02-21 11:14:35 +00:00
Michael ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00:00
Michael 2fa692bcce New post class in the rest of the classes 2021-01-16 04:16:09 +00:00
Michael 7f56e2e7a9 Improve photo loading speed 2020-12-26 18:51:36 +00:00
Michael 944b0eadb7 Issue 9457: Fix remembering "personal" and "starred" 2020-12-19 16:48:12 +00:00
Hypolite Petovan 4fce6a919f Suppress notice when network page is empty 2020-11-11 03:05:12 -05:00
Michael db8be13bbf Fix order on network page 2020-10-30 22:13:14 +00:00
Michael 2f3918c3a3 Issue 9457: Fix network order for starred and mention 2020-10-26 06:54:10 +00:00
Michael 8bd45ab857 "commented" is the default 2020-10-24 13:44:31 +00:00
Michael adb660f1ad Issue 9451: We now do store the tab in a config again 2020-10-24 13:11:44 +00:00
Michael 90b5421c01 Use $get 2020-10-18 04:05:52 +00:00
Michael Vogel 7db4fa6bf4
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-10-17 21:24:51 +02:00
Michael 14274bc204 Store the selected network tab in a session variable 2020-10-17 18:52:05 +00:00