1
1
Fork 0
Commit graph

6445 commits

Author SHA1 Message Date
c7dbe0b610 Create new OStatus\Repair module class
- Create corresponding template file
2022-11-07 21:44:18 -05:00
f13c91b320
Move mod/cal.php and mod/events.php to Module 2022-11-07 19:52:24 +01:00
9e315a75d8 Remove mod/salmon.php 2022-11-06 20:42:08 -05:00
9bb9bf5668 Remove mod/share.php file 2022-11-04 13:02:02 -04:00
55744b6ccb Remove mod/suggest.php file 2022-11-04 07:57:37 -04:00
811e144e9e Move viewcontact_template and contact_template to contact/ folder 2022-11-04 07:03:55 -04:00
7208576f67 Remove mod/tagger.php 2022-11-03 22:26:57 -04:00
88d04dfbdb Remove mod/tagrm.php 2022-11-03 00:27:09 -04: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
2b2fa4471f Remove mod/uimport.php 2022-11-02 11:27:32 -04:00
2c90ab69d6
Move event export to src/Module/Events/Export 2022-11-02 15:16:23 +01:00
8e6f676719
Move mod/follow to src/Modules 2022-10-31 20:56:41 +01:00
d9075add1a Remove mod/unfollow.php file 2022-10-31 15:31:44 -04:00
3020dfbeeb Rename auto_request.tpl form action template variable 2022-10-31 15:30:23 -04:00
4d3c0e1c57 Remove mod/wall_upload.php file 2022-10-31 14:57:25 -04:00
54ac93a4fc Remove mod/wall_upload.php file 2022-10-30 14:20:02 -04:00
07dd548a10 Remove mod/wallmessage module 2022-10-30 10:49:47 -04:00
3c169b534e Improved handling of native quotes 2022-10-29 22:11:39 +00:00
f418687a71
Merge pull request #12070 from annando/share
Some more improvements for posts with shares
2022-10-27 08:19:23 -04:00
deccea0228 More functions moved to content class 2022-10-27 05:44:44 +00:00
c65fff6f93 Some more improvements for posts with shares 2022-10-26 17:00:55 +00:00
039a4b8c72
Fixed issues by php-cs 2022-10-25 23:09:30 +02:00
ceffd0ef6c
Changed:
- here `Logger::level()` is okay to use
- added more logging in wall_upload.php
- formatted array and put all $array['foo'] = $foo; into a single statement
- <include|require[_once]> are all no functions, but keywords
2022-10-25 21:36:59 +02:00
71e82bc861
Changed:
- added logger for any reason when upload is aborted
- renamed variables a bit to camel-case style
2022-10-25 21:35:36 +02:00
1a0b63659b Merge remote-tracking branch 'upstream/develop' into share-rework 2022-10-25 08:31:01 +00:00
f54a886a5e The "share" handling is improved 2022-10-25 06:37:23 +00:00
54b89365bb
Fixed:
- Added missing `()` to `getRemoteUserId` which is a method, and not a property
- `Undefined property: Friendica\Core\Session\Model\UserSession::$getRemoteUserId in /var/www/.../htdocs/mod/display.php on line 192`
2022-10-24 18:29:28 +02:00
44a9683008
Move "submanage" Session value into own methods 2022-10-21 19:35:34 +02:00
bf39b5a948
Fix messages.po issue 2022-10-21 10:19:13 +02: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
54d3d03252
Ops, code-convention not followed 2022-10-18 16:34:45 +02:00
Roland Häder
26e0469de7
Merge branch 'develop' into rewrite/gravity-constants 2022-10-18 16:34:40 +02:00
abe02a646c
Added missing use statement (again), thanks to @MrPetovan
Yes, we need more unit-testing! Not only to rely on your IDE that it will locate
it for you.
2022-10-18 16:26:35 +02:00
3a2f5091d9
Added missing use statement, thanks to @MrPetovan 2022-10-18 16:20:21 +02:00
6f68679375 The EOL constant is removed 2022-10-18 12:29:50 +00:00
fdfa1f8630 The notice and info have been moved 2022-10-17 18:55:22 +00:00
4ff7c37f85 Replace "notice" calls 2022-10-17 11:27:32 +00:00
018858934b The priority is now a class constant 2022-10-17 05:49:55 +00:00
1f9fc13d03
Rewrites:
From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````
2022-10-15 00:44:37 +02: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
0d3aa681b4 The quote functionality is simplified 2022-10-09 21:16:36 +00:00
4a37c978c2 Issue 11969: Simplified share 2022-10-08 09:36:35 +00:00
b92e23273d Only use http links 2022-10-07 21:17:39 +00:00
d646d4eb1d Issue 11969: Only use the simple share with federated posts 2022-10-07 21:09:15 +00:00
f8d4ab1830 Whitespace removed 2022-10-07 07:55:44 +00:00
d7a9745ffd Simplified share element 2022-10-07 05:51:36 +00:00
48182a95fb Improve quote share ("message_id" added) 2022-10-06 21:50:20 +00:00
4d39ec8b63 Issue 11880: Provide "alt" description from uploaded file 2022-10-03 21:23:04 +00:00
3911c9450b (Hopefully) SQL improvements 2022-09-24 17:56:07 +00:00
ff89c1a8bf Template based XML generation is replaced with native XML 2022-09-11 07:00:16 +00:00
cc43b567cb Some changes after code review 2022-08-31 19:03:37 +00: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
81aaacc67d Improvements for the "post-reason" 2022-07-29 14:17:53 +00:00
86105635ca Improved message handling / new activity relay handling 2022-07-27 17:39:00 +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
ba33c95e97
Fixes:
"Argument 1 passed to Friendica\Content\Text\BBCode::toPlaintext() must be of the type string, null given, called in /var/www/.../htdocs/mod/display.php on line 305"
2022-07-03 14:45:12 +02:00
90b0b33687
Changed double-quotes to single 2022-06-30 17:43:32 +02:00
3c70d592f6
Merge pull request #11689 from Quix0r/rewrites/double-quotes-single
Changed more double-quotes to single
2022-06-25 12:02:01 -04:00
ee96c26ede Replace obsolete posted sort field by created in mod\photos 2022-06-25 11:46:54 -04:00
804b759df1
Changes:
- let's get rid of that `Database::exists()` is being misused for checking table existence
- reformatted array
2022-06-25 16:48:37 +02:00
e5cc7a5ab1
Fixes:
- Strings::isHex() should not be misused for checking on NULL
2022-06-20 08:25:45 +02:00
14bf72e4fe
Changes:
- added some documentation
- added type-hints
2022-06-20 02:48:05 +02:00
2f961b11bf
Naming-convention:
- variables should start lower-case: $image
2022-06-18 23:16:34 +02:00
d665b78ea8 Fix forced updates on the display page 2022-06-07 17:34:19 +00:00
069c1d0b35 Only update when new content arrives 2022-06-06 10:41:07 +00:00
fd48a8c9ab
Merge pull request #11601 from annando/issue-11594
Issue 11594: Ensure to create notifications in the user language
2022-06-04 16:52:26 +02:00
f1913b28e0 Issue 11594: Ensure to create notifications in the user language 2022-06-04 14:08:11 +00: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
50a0034744 Fix avatar for messages and feeds 2022-06-04 07:57:11 +00:00
0aee9a054a Fix: Like/Dislike/Reshare actions should now be visible 2022-06-03 17:40:06 +00:00
36b80eb704 We should now always fetch the user posts 2022-05-31 17:49:08 +00:00
f4e680c97e Fix: Activities should be be able again on displayed posts 2022-05-31 17:00:21 +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
1dccc31508 Issue 11469: Repect desktop notification settings 2022-05-29 09:20:06 +00:00
a924716131 Use the top-level author theme if they're a local user in mod/display 2022-05-28 21:53:57 -04: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
3f8da997f4 Fix: Preview failed because of unknown variables 2022-05-17 03:40:38 +00:00
2433fee461 Changes after code review 2022-05-05 12:23:44 +00:00
2f74a7bca4 Update display cache when the post had been edited 2022-05-04 07:50:14 +00:00
fdf70c1047 Make post preview workable 2022-04-29 12:34:10 +00:00
64330f9895 Move /settings to src/ 2022-04-24 01:21:48 -04:00
0d8cf06e4a Experimental feature to enter a custom creation date 2022-04-13 05:31:32 +00:00
3842f02b02
Merge pull request #11402 from annando/featured-endpoint
We now offer an endpoint for featured posts
2022-04-11 11:17:56 -04:00
c88d306a41 Use the correct content type 2022-04-11 06:07:50 +00:00
989ac2fda8 Some more "exit" replaced 2022-04-10 11:03:24 +00:00
4a22034be6 Unified output via the "httpExit" function 2022-04-10 08:31:55 +00:00
d15023fe4b Unified JSON exit 2022-04-09 11:58:01 +00:00
8e2cc678dc
head fixings 2022-04-08 20:41:25 +02:00
04866195b4
Remove accept parameter for head/post again 2022-04-03 19:33:09 +02:00
e299fc67c8
Introduce "accept_header" as specific argument to the http client 2022-04-02 21:16:53 +02:00
73c3b21665
Move ACCEPT constants to own "enum" class 2022-04-02 20:26:11 +02:00
2ca51f752d Use appropriate "accept" values 2022-03-30 14:39:53 +00:00