Commit graph

173 commits

Author SHA1 Message Date
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
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Philipp
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
5879535822
Switch static::$parameters to $this->parameters 2021-11-14 23:49:07 +01:00
Philipp
489cd0884a
Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
Philipp
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
64d181c1cc Code style 2021-09-24 04:35:27 +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
9f01052dd2 Removed some more unused "use" 2021-08-08 20:03:28 +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
5d61599964 Fix notices
See https://github.com/friendica/friendica/issues/9749#issuecomment-774666356
and https://github.com/friendica/friendica/issues/9747#issuecomment-785262156
2021-04-10 16:19:22 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael
99a145f7cf Fixes several database errors, removes "relation" handling 2021-02-25 05:13:49 +00:00
Michael
1792046a4f post/thread views are renamed, search bugs fixed 2021-02-22 19:47:08 +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
92a8a399de Improved indexes, avoiding SQL errors, improving speed 2021-02-20 20:07:25 +00:00
Michael
ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00:00
Michael
5e846dd7c2 The thread table is replaced by post-thread and post-thread-user 2021-02-04 05:51:25 +00:00
Michael
ef0400fc19 "uri-id" instead of "uri" or "id" 2021-01-27 10:01:42 +00:00
Michael
b892db0cf3 All item selects are now done by the post class 2021-01-19 07:23:01 +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
Michael
a24ae975a9 Network: Fix continuous load issues 2020-10-17 07:31:03 +00:00
Hypolite Petovan
5abe069cba Remove Widget::accounts in favor of Widget::accounttypes 2020-10-13 22:30:40 -04:00
Hypolite Petovan
4d15cc01e2 Move network module to src/
- Update ForumManager to use a base URL
- Split network module into Conversation\Network and Search\Filed modules
- Implement boundaries pager in network module
- Allow no selection in filter widgets
2020-10-13 07:52:13 -04:00
Hypolite Petovan
9537a6d0f7 Remove unused App->force_max_items property 2020-10-13 07:52:13 -04:00
Hypolite Petovan
4427876c05 Implement correct behavior for min_id in boundary pagination
- The previous behavior of since_id systematically showed the most recent results
2020-10-13 00:11:39 -04:00
Michael
4b9cbac23e Filter for account type for contacts 2020-10-09 19:08:50 +00:00
Michael
a79f750a9e Fix refresh after comment/like 2020-10-07 04:01:52 +00:00
Michael
f255749c6a Issue 9358: liking and commenting on the community page now gives a feedback 2020-10-06 05:18:54 +00:00
Michael
6c3ffb75a6 Issue 9366: filter account types on the network page 2020-10-05 16:48:28 +00:00
Michael
52e150551e Fix notice "Undefined index: accounttype" 2020-09-28 11:27:48 +00:00
Michael
9586577c5a Restructured code 2020-09-27 05:46:07 +00:00
Michael
08016710d4 Unused code fragment removed 2020-09-27 05:31:39 +00:00
Michael
de9cd9881c We don't seem to need the date formatting 2020-09-27 05:27:52 +00:00
Michael
55aa9c1cca Issue 9288: Endless scrolling on the community page 2020-09-27 05:25:32 +00:00
Michael
3efbf1beb7 Fix notice 2020-09-26 18:59:31 +00:00
Michael
4a40a40ed1 Merge remote-tracking branch 'upstream/develop' into hide-sharer 2020-09-26 18:05:15 +00:00
Michael
c0ddcfb0cd Hide own contacts 2020-09-26 18:01:10 +00:00
Michael
3ffb90cf07 Improve naming, make widget collapsable 2020-09-26 14:13:14 +00:00
Hypolite Petovan
4657a8c97a
Merge pull request #9280 from annando/account-selector
Account selector for the community page
2020-09-26 08:45:28 -04:00
Michael
f936d93730 Moved "selected" check into the template 2020-09-26 12:13:30 +00:00
Michael
5a48002575 Account selector for the community page 2020-09-26 11:05:18 +00:00
Michael
b522f20702 Issue 9268: Don't show posts from followers on community page 2020-09-26 09:09:56 +00:00
Michael
3fc3ded750 Useless info messages removed 2020-07-23 06:11:21 +00:00
Michael
d3c6f6de2a New query for community page 2020-03-02 14:59:16 +00:00
Michael
ca1b92bb34 Support unlisted public posts 2020-03-02 07:57:23 +00:00
Hypolite Petovan
e0d03615bc Add node-wide default items per page config 2020-02-16 13:04:26 -05:00
Hypolite Petovan
d78f66cd09 Replace local_user() by Session::isAuthenticated() where appropriate 2020-02-16 12:50:44 -05:00
Hypolite Petovan
561472b975 Add L10n parameter to Pager classes 2020-02-16 12:50:39 -05:00
Hypolite Petovan
682fb7e4e2 Move community module to src/
- Use boundaries pagination instead of number pages
- Trim down community update module output
- Part of https://github.com/friendica/friendica/issues/4090
2020-02-16 04:41:22 -05:00