Commit graph

577 commits

Author SHA1 Message Date
77e87da441 Create /profile/{nickname}/photos route
- Create new Profile\Photos\Index module class
- Update most references of the legacy /photos/{nickname} route
2022-11-20 17:15:07 -05:00
952e6c688c Suppress warning when /phots route is used without a nickname
- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1314964388
2022-11-15 09:04:12 -05:00
4a626ef101 Create new Contact\Redir module class
- Move /redir route to /contact/redir
2022-11-08 20:12:23 -05:00
e0dc7a471e Create Post/Tag/Remove module class and route
- Fix tag name parameter in single tag removal link in mod/photos
- Remove "/post" from backend routes as it was preventing sessions from working in this module. No existing module had a route starting with "/post".
2022-11-03 00:27:08 -04:00
8dda6144a9
Remove unnecessary "use" 2022-10-20 21:06:06 +02:00
bfe68702db
UserSession class [2] - Refactor mod/ files 2022-10-20 21:02:49 +02:00
5874de4743 old boot.functions replaced in /mod 2022-10-19 04:14:42 +00:00
Roland Häder
26e0469de7
Merge branch 'develop' into rewrite/gravity-constants 2022-10-18 16:34:40 +02:00
fdfa1f8630 The notice and info have been moved 2022-10-17 18:55:22 +00:00
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
f7b85092b0 Some more changed log levels 2022-08-31 05:01:22 +00:00
757a5c2de9 Loglevels are adjusted 2022-08-30 19:45:30 +00:00
cf8698afe6
This is the correct way:
<?php
if (!isset($foo['account_removed) || $foo['account_removed'])
?>
2022-07-19 18:08:18 +02:00
eb8237dd89 Remove unused uid parameter in Item::newURI 2022-07-09 07:39:51 -04:00
ee96c26ede Replace obsolete posted sort field by created in mod\photos 2022-06-25 11:46:54 -04:00
e5cc7a5ab1
Fixes:
- Strings::isHex() should not be misused for checking on NULL
2022-06-20 08:25:45 +02:00
db4ad7883f Revert some of the last changes 2022-06-04 12:11:41 +00:00
3b2c2e5d33 Don't make photo item visible 2022-06-04 12:02:59 +00:00
592665ed28 Fix: Show photos in high resolution 2022-05-31 04:52:50 +00:00
aabb56c70d Issue 11561: Don't mark photo links as invalid 2022-05-29 19:10:00 +00:00
4ef7f42257 Issue 11470: Check for removed account 2022-05-28 16:21:41 +00:00
f6167b4cfd New function to exit the program 2022-05-18 02:13:54 +00:00
4016a576d5 Log the execution time 2022-05-17 20:47:23 +00:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
80da47921e Replace references to UTC_TIMESTAMP in SQL queries with a DateTimeFormat generated parameter 2021-12-04 17:53:08 -05:00
9c61bd3ffc Lists and tweet search moved 2021-11-25 11:16:47 +00:00
Michael Vogel
a12144bf61
Apply suggestions from code review
Co-authored-by: Philipp <admin+Github@philipp.info>
2021-11-07 13:57:24 +01:00
cfac13790b "escapeTags" is finally removed 2021-11-07 09:18:25 +00:00
359dad4244 Some more "escapeTags" removed 2021-11-06 20:25:21 +00:00
63da4a75e9 The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
3781b34272 PROFILE_PHOTOS is mostly removed and replaced 2021-10-19 19:15:28 +00:00
a33185f835 Use a constant for the profile photo album 2021-10-14 04:12:00 +00:00
13827edd2c New photo field "photo-type" as preparation for banners 2021-10-11 14:21:10 +00:00
020112bf4a Query replaced 2021-10-08 10:28:28 +00:00
56f033fa95 Some more "q" calls handled 2021-10-08 10:01:15 +00:00
3972fe62fe More replaced "q" calls 2021-10-08 04:10:45 +00:00
763e264196 More "q" calls have been replaced 2021-10-03 15:02:20 +00:00
606b0257ff
Merge pull request #10798 from annando/q-calls
Some more "q" calls replaced
2021-10-02 14:41:25 -04:00
2924969b30 Some more "q" calls replaced 2021-10-02 18:32:56 +00:00
9918fa3ec0 Move translation strings in their own array for confirm templates 2021-10-02 13:52:54 -04:00
0ad904c185 The conversation functionality moved to a class 2021-09-23 21:18:36 +00:00
21a3388096 Issue 9871: Deletion og photos is now possible again 2021-09-18 07:28:29 +00:00
891c0ff130 Abort early if owner isn't found in mod/photos
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-894779649
2021-08-17 09:06:28 -04:00
c81e81dc8d "getUserId" is now "getLoggedInUserId" 2021-08-09 20:33:46 +00:00
15b93b4459 "getUserNickname" is now "getLoggedInUserNickname" 2021-08-09 19:48:39 +00:00
b8fa75b2dd Changed function name 2021-08-09 15:29:07 +00:00
28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
aac965be7d "tag" is no field anymore 2021-07-30 06:22:52 +00:00