Philipp Holzer
051253a745
Move FileBrowser to own namespace & Bugfix album usage
2022-11-27 01:34:58 +01:00
Philipp
3607aa32ca
Apply suggestions from code review
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-27 01:34:58 +01:00
Philipp Holzer
d0b16b2fc1
Move mod/fbrowser to src\Modules\Attachment|Photos\Browser
2022-11-26 22:26:30 +01:00
Hypolite Petovan
6dcc964ed8
Fix string interpolation in Model\Photo::upload
2022-11-20 17:07:08 -05:00
Philipp Holzer
b4ffb0bde0
UserSession class [4] - Refactor src/Model/ files
2022-10-20 22:14:50 +02:00
Michael
ee1acba9eb
old boot.php functions replaced in /src
2022-10-19 07:56:25 -04:00
Michael
cc43b567cb
Some changes after code review
2022-08-31 19:03:37 +00:00
Michael
757a5c2de9
Loglevels are adjusted
2022-08-30 19:45:30 +00:00
Philipp Holzer
a910fd8864
Split DBStructure & View to avoid DB-calls and dependencies for basic operations
...
- new "Definition" classes vor DB and Views
- new "Writer" classes to create SQL definitions for DB and Views
- DBStructure & View are responsible to execute DB-querys
2022-07-12 23:40:31 +02:00
Roland Häder
98bc5216ef
A bit more documentation
2022-06-27 15:16:17 +02:00
Roland Häder
39f2d197ea
Changed to suggestings (back to original) + fixed typo in scalar type
2022-06-18 23:30:37 +02:00
Roland Häder
f3b57008b5
Proper type is string
2022-06-18 18:41:16 +02:00
Roland Häder
41f34c4261
Maybe fix for:
...
"Argument 1 passed to Friendica\Model\ItemURI::getIdByURI() must be of the type string, null given, called in Processor.php line 1219"
2022-06-18 18:30:50 +02:00
Roland Häder
9691bb06fb
Changes:
...
- added more type-hints
- added missing documentation
2022-06-18 18:21:29 +02:00
Roland Häder
33768ea1c6
Some fixes:
...
- $gsid's default value cannot sadly be 0, it now must be null to allow some
code work
- added some more type-hints
- documented a bit more
2022-06-17 17:18:31 +02:00
Michael
0ff8ca8053
Trim the rid
2022-05-24 17:39:02 +00:00
Michael
e3692c0105
Replaced check with hardwired path
2022-05-09 04:26:00 +00:00
Philipp Holzer
e299fc67c8
Introduce "accept_header" as specific argument to the http client
2022-04-02 21:16:53 +02:00
Philipp Holzer
73c3b21665
Move ACCEPT constants to own "enum" class
2022-04-02 20:26:11 +02:00
Michael
1fae0123ec
Some more "accept" parameters are added
2022-03-29 06:24:20 +00:00
Michael
7d21f6f8d3
Merge remote-tracking branch 'upstream/2021.12-rc' into user-banner
2022-01-19 18:41:31 +00:00
Hypolite Petovan
babbdf58e6
Fix wrong default value in Module\Api\Friendica\Photo\Create::post
...
- The underlying Model\Photo::upload doesn't accept a null value for description
2022-01-17 16:46:43 -05:00
Michael
59358077c7
First support for user headers
2022-01-08 22:43:11 +00:00
Michael
543cc7f51f
Moved tests, changes after review
2022-01-06 20:13:32 +00:00
Michael
9414edd64a
API: Functionality moved to new places
2022-01-06 07:34:16 +00:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Michael
63da4a75e9
The boot.php had been cleared of most functions
2021-11-04 20:29:59 +00:00
Philipp Holzer
2ab0d06996
Restructure Storage to new paradigm
2021-10-27 20:00:19 +02:00
Philipp Holzer
68046573a4
Restructure Cache to follow new paradigm
2021-10-26 22:11:06 +02:00
Michael
3781b34272
PROFILE_PHOTOS is mostly removed and replaced
2021-10-19 19:15:28 +00:00
Michael
a33185f835
Use a constant for the profile photo album
2021-10-14 04:12:00 +00:00
Michael
13827edd2c
New photo field "photo-type" as preparation for banners
2021-10-11 14:21:10 +00:00
Michael
2c134c5229
q
is now completely removed
2021-10-09 21:16:15 +00:00
Michael
a32c10b354
Simplifid query
2021-10-08 04:24:59 +00:00
Michael
3972fe62fe
More replaced "q" calls
2021-10-08 04:10:45 +00: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
fc46744183
Fix Photo::delete()
2021-09-05 19:20:43 +02:00
Philipp Holzer
13a91e63aa
Rename DI::httpRequest() into DI::httpClient()
2021-08-25 21:54:54 +02:00
Philipp Holzer
06371d29a6
Cleanup
2021-08-20 20:03:42 +02:00
Philipp Holzer
26401e88b8
IHTTPResult::getContentType is now a string again
2021-08-20 19:58:42 +02:00
Philipp Holzer
803c1d71de
Fix IHTTPResult::getHeader()
...
- Now returns a string array, like expected
- Fix usages
- Fix dataset
2021-08-20 19:58:42 +02:00
Philipp Holzer
02a4d30f7d
Add todo for later
2021-08-16 23:27:43 +02:00
Philipp Holzer
c17bc55158
Introduce InvalidClassStorageException and adapt the code for it
2021-08-16 23:27:42 +02:00
Philipp Holzer
d0536ebea7
Rename ISelectableStorage to IWritableStorage
2021-08-16 23:27:42 +02:00
Philipp Holzer
eb035771f1
Revert Photo::getImageDataForPhoto return-type change
2021-08-16 23:27:42 +02:00
Philipp Holzer
29c7552df5
Refactor IStorage
2021-08-16 23:27:42 +02:00
Michael
929de9081e
All needed fields are now filled
2021-07-30 13:22:06 +00:00
Michael
2647514603
Detection of local requests
2021-07-19 06:14:14 +00:00
Michael
ec49afa116
Guess the mimetype in advance
2021-06-30 04:28:03 +00:00
Michael
2f06d271bb
Use a default value for "uid"
2021-06-28 13:58:06 +00:00