Hypolite Petovan
c84d4104e8
Add missing Module\Photo route for post-media id with no customsize
2021-10-03 07:58:52 -04:00
Hypolite Petovan
5112dd06f2
Add missing Module\Photo route for contact avatar
2021-10-03 07:48:46 -04:00
Hypolite Petovan
c1ab3801ba
Replace remaining reference to Model\Photo::stripExtension
2021-10-03 05:52:53 -04:00
Hypolite Petovan
8cb0bb5deb
Switch uid with nickname in user picture URLs
...
- Keep previous URL scheme fallback as remote contact avatar URLs pointing to local user avatar URLs need to update
2021-10-02 19:06:59 -04:00
Hypolite Petovan
7cdd2d1336
Refactor User::getAvatarUrlForId into getAvatarUrl
...
- Use user/owner array as parameter instead of uid
- Rename $profile variables to $owner when it's the result of User::getOwnerDataByNick
- Replace Module\Photo::stripExtension with native pathinfo() calls
2021-10-02 19:06:25 -04:00
Philipp Holzer
c17bc55158
Introduce InvalidClassStorageException and adapt the code for it
2021-08-16 23:27:42 +02:00
Michael
a8442e41ab
Improved error message for external resources
2021-08-06 04:02:42 +00:00
Michael
aed5e4cc96
New struture for post related links
2021-07-05 18:45:49 +00:00
Michael
47904f99c2
Removal of duplicated photo entries for a contact
2021-07-04 10:40:03 +00:00
Michael
c72abe48a8
Fixed fetching private local images
2021-07-03 15:29:27 +00:00
Michael
8e9433f2e9
Fix: Fetching of non public photos
2021-07-01 18:05:54 +00:00
Michael
ec49afa116
Guess the mimetype in advance
2021-06-30 04:28:03 +00:00
Michael
39fe60744b
Grammar
2021-06-30 03:49:43 +00:00
Michael
d2b32a151e
Detect the mimetype for external resources
2021-06-30 03:47:53 +00:00
Michael
19aef93560
Unified avatar paths
2021-06-29 20:26:58 +00:00
Michael
ebb9e0c2f5
Fix resizing
2021-06-28 19:38:03 +00:00
Michael
ffdbac7e41
Issue 10443: Fix requesting media content
2021-06-28 18:53:10 +00:00
Michael
2f06d271bb
Use a default value for "uid"
2021-06-28 13:58:06 +00:00
Michael
4f95622d73
Only user the user with attached media.
2021-06-28 12:40:58 +00:00
Michael
6f350c1e59
Use signed requests for fetching private images
2021-06-28 10:08:51 +00:00
Michael
7e200174d6
Replace attachment links in the body
2021-06-28 04:53:20 +00:00
Michael
dbf9132ea6
Fixed indendation
2021-06-28 01:34:29 +00:00
Michael
b46b7b08ba
Reduce the usage of the "proxifyUrl" function
2021-06-27 11:50:10 +00:00
Michael
9276f6823b
New class for external resources
2021-06-24 17:30:22 +00:00
Michael
96809b3fdd
API: Improved avatar handling
2021-06-24 07:08:38 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
447bac077e
Simplify the resizing
2020-12-26 21:24:36 +00:00
Michael
997319a41f
Use the raw data instead of an object
2020-12-26 19:31:39 +00:00
Michael
7f56e2e7a9
Improve photo loading speed
2020-12-26 18:51:36 +00:00
Michael
2cb71341b2
Fixes "Unknown column '729' in 'field list'"
2020-12-08 21:23:10 +00:00
Michael
a49a35f459
Centralized fetching of the default avatar
2020-12-07 06:43:43 +00:00
Michael
d9fc0ae0ea
Using a constant value for the default avatar
2020-08-18 20:30:24 +00:00
Michael
37376fa715
Issue 8371: Improvements for picture permissions
2020-03-08 13:16:59 +00:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files
2020-02-09 16:18:46 +01:00
Philipp Holzer
d6efc90194
cleanup namespace usages for L10n
2020-01-19 16:31:33 +01:00
Philipp Holzer
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
Philipp Holzer
1de3f186d7
Introduce new DI container
...
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
Michael
8c03bdada9
parameters now are having a default value and are optional
2019-11-05 21:48:54 +00:00
Michael
bd62d548db
Added parameters
2019-11-05 20:22:54 +00:00
Michael
cb77b1af8c
API: We now transmit the text description there as well
2019-08-04 03:45:23 +00:00
Hypolite Petovan
41f781c52a
Replace System::httpExit() by HTTPException throwing
2019-05-02 11:37:09 -04:00
Philipp Holzer
07ba1b200c
Add routes for current BaseModules
2019-05-01 21:29:04 +02:00
Hypolite Petovan
71b221a84d
Fix "Illegal string offset 'title'/'description'" notice in Module\Photo
...
See https://forum.friendi.ca/display/097d37de-265c-c35b-f385-e0b584714020
2019-04-26 15:39:42 -04:00
Michael
0aab620d32
Enable remote authentication with HTTP Signatures
2019-03-19 06:44:51 +00:00
Michael
a876c20850
Use HTTP-Signature to authenticate when fetching photos.
2019-03-18 22:33:20 +00:00
Hypolite Petovan
49c9b6f9ff
Fix possibly undefined variables
2019-01-23 09:06:59 -05:00
Hypolite Petovan
cb3f09ae4f
Refactor namespaces
...
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
Hypolite Petovan
895b3abf32
Remove/replace killme() with *exit()
2019-01-21 09:49:17 -05:00
fabrixxm
bbbc15a5eb
Method getPhoto of Photo model should return false on error
...
Instead of red circle image, which breaks proxy module
2019-01-21 09:12:31 -05:00