Michael
dc48f9b8f0
White spaces
2022-01-16 20:17:31 +00:00
Michael
7c15d0160a
Coding styles / "require_once" for removed file removed
2022-01-16 09:01:04 +00:00
Michael
c55c42b303
"DI" calls are replaced
2022-01-16 07:07:46 +00:00
Michael
f68c94db04
Some standards
2022-01-15 21:45:08 +00:00
Michael
95f085b7ac
API: The legacy API finally moved
2022-01-15 21:38:19 +00:00
Philipp
c588b280d7
Fix all license header & be less aggressive
2022-01-07 00:35:28 +01:00
Philipp
4e67bfed8d
Use Args::getMethod() at various places
2022-01-04 20:59:26 +01: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
Hypolite Petovan
0df539a65e
Merge pull request #11127 from nupplaphil/feat/tests
...
Transform legacy API tests into new structure
2022-01-02 01:06:48 +01:00
Philipp
e61ed41972
Add feedback (title/text/html)
2022-01-02 00:21:01 +01:00
Philipp
4c77e99f89
Add title to the text/html content for Twitter status object
2022-01-01 23:14:52 +01:00
Michael
29be22ee6a
Display interaction data for Diaspora accounts
2021-12-30 22:11:52 +00:00
Philipp
6412484fa6
Move API DirectMessage tests
2021-12-30 21:07:20 +01:00
Michael
23f8d37bcd
Use dynamic function
2021-12-19 07:39:39 +00:00
Michael
c18bda9397
Standards
2021-12-16 22:54:48 +00:00
Michael
b7a460485a
API: Direct Messages moved to new place
2021-12-16 22:44:50 +00:00
Michael
b15d3a2523
API: Next bunch of functions transformed
2021-11-27 22:25:36 -05:00
Michael
d696c8d101
Use correct uri-id for attachments
2021-11-25 10:07:25 +00:00
Michael
ab28fa32aa
Added last status
2021-11-24 20:47:37 +00:00
Michael
dfd63493b2
Standards
2021-11-24 07:14:19 +00:00
Michael
a86dee8e59
Coding standards
2021-11-24 07:08:30 +00:00
Michael
57cf384fae
Moved acitivites
2021-11-24 07:06:28 +00:00
Michael
a3aab4a75a
Entities, Source and api functions rearranged
2021-11-24 06:44:25 +00:00
Michael
452cd57437
Fixing tests
2021-11-23 22:02:46 +00:00
Michael
38b641ca6b
Coding standards
2021-11-23 21:56:34 +00:00
Michael
07c2f36946
Removing unused functions, added (deactivated) attachments
2021-11-23 21:54:19 +00:00
Michael
082aa1bf65
Code Standards
2021-11-23 15:21:06 +00:00
Michael
4373a66f74
Coding standards
2021-11-23 14:55:52 +00:00
Michael
b56ccbcf2b
More objects added
2021-11-23 10:12:11 +00:00
Michael
8211cef49d
Coding standards, changed database version
2021-11-22 07:39:40 +00:00
Michael
670bbe58a1
API: The status is now an object
2021-11-22 07:28:02 +00:00
Michael
cdedf348e4
Replaced most "api_get_user" calls with newer BaseApi calls
2021-11-17 21:28:51 +00:00
Michael
516018861e
Merge remote-tracking branch 'upstream/develop' into error-handling
2021-10-31 05:25:39 +00:00
Michael
4236a9a105
Improved http error handling
2021-10-29 23:21:07 +00:00
Philipp
409d909d0f
Restructure HTTPClient for new paradigm
2021-10-28 20:01:03 +02:00
Philipp
184f6cc255
Restructure Logger to new paradigm
2021-10-28 20:01:02 +02:00
Philipp
58eea1adaa
Cleanup namespaces
2021-10-26 22:11:10 +02:00
Philipp
b216317477
Refactoring Core class structures ...
2021-10-26 22:11:09 +02:00
Philipp
57b4c008cb
Restructure Session to follow new paradigm
2021-10-26 22:11:07 +02:00
Philipp
ff1a812e1a
Restructure Lock to follow new paradigm
2021-10-26 22:11:06 +02:00
Philipp
ab83d0dd27
Restructure (P)Config to follow new paradigm
2021-10-26 22:11:06 +02:00
Philipp
68046573a4
Restructure Cache to follow new paradigm
2021-10-26 22:11:06 +02:00
Philipp
5d92713a8e
Rename Depository to Repository
2021-10-23 21:45:36 -04:00
Philipp
a40f503fdd
Move Introduction to new depository paradigm
2021-10-21 21:49:20 +02:00
Philipp
b5d994394e
Fixing PUBLIC usage, Fixing DB-View, Creating tests
2021-10-18 23:32:45 +02:00
Philipp
a9981c792e
Use ProfileField::selectPublicFieldsByUserId
2021-10-18 23:32:39 +02:00
Philipp
1c0f92c382
Move ProfileField from Model to Entity
2021-10-18 23:32:38 +02:00
Philipp
493b428991
require_once dbstructure.config.php for HTTPClientFactory.php in case we didn't load the DB
2021-10-18 19:36:56 +02:00
Philipp
62eb16e9ad
Migrate PermissionSet to Depository paradigm
2021-10-07 19:53:38 +02:00
Hypolite Petovan
7a2d5f6a8e
Move notification to the new paradigm
2021-10-02 18:15:45 -04:00
Hypolite Petovan
bc0734e0f1
Move notification introductions to the new paradigm
2021-10-02 18:15:45 -04:00
Hypolite Petovan
3e6fea30f2
Create constants for Mastodon notification types
2021-10-02 18:15:44 -04:00
Hypolite Petovan
47acb6a278
Move notify to the new paradigm
...
- Remove unused frion notify template
- Update API test
2021-10-02 18:15:42 -04:00
Philipp
80753ed1b6
Remove disturbing/superfluous logging messages
2021-10-02 23:11:33 +02:00
Philipp
27e4586597
Move path determination logic into the ConfigFactory
2021-09-12 13:44:29 +02:00
Philipp
478f69c403
Realy fix setCookieJar
2021-08-25 21:32:44 +02:00
Philipp
749f3e158b
Use temporary files for the URLResolver CookieJar
2021-08-25 20:39:33 +02:00
Philipp
4ddaf49f53
Revert setCookieJar() and add overwrite parameter fpr rare cases
2021-08-25 18:01:07 +02:00
Philipp
12367648fa
Add suggestions
2021-08-25 14:22:43 +02:00
Philipp
d4a233a149
Extend test capability for HTTP Requests
2021-08-25 14:22:43 +02:00
Philipp
8385ee7a61
Use mattwright/urlresolver for HTTPClient::finalUrl()
2021-08-25 14:22:42 +02:00
Philipp
e576af218b
Use Guzzle for HTTPClient::post()
2021-08-25 14:22:42 +02:00
Philipp
736277dcf0
Refactor HTTPClient::get() / ::head()
2021-08-25 14:22:42 +02:00
Philipp
52c7948526
Create HTTPClientFactory and introduce ImageTest
2021-08-25 14:22:42 +02:00
Michael
69f11c4a84
Adding the VAPID keys
2021-08-15 21:24:23 +00:00
Michael
19f3cad56c
Preparation for creating push notification
2021-08-15 16:18:25 +00:00
Michael
74f3cbc383
Improved error check, added "put"
2021-08-15 07:28:26 +00:00
Michael
e28a4265c5
API: First steps to support subscriptions
2021-08-15 00:30:41 +00:00
Michael
15b93b4459
"getUserNickname" is now "getLoggedInUserNickname"
2021-08-09 19:48:39 +00:00
Michael
b8fa75b2dd
Changed function name
2021-08-09 15:29:07 +00:00
Michael
fc283ab928
Remove direct calls to App->user
2021-08-08 10:14:56 +00:00
Michael
e89d0f2599
Style
2021-07-31 06:22:08 +00:00
Michael
13529fa97d
Support the "media_attachments" field
2021-07-30 22:39:13 +00:00
Michael
9b609ba19d
Space added
2021-07-30 14:06:18 +00:00
Michael
48f2790593
Spaces removed
2021-07-30 14:05:57 +00:00
Michael
929de9081e
All needed fields are now filled
2021-07-30 13:22:06 +00:00
Michael
93263a820d
Function renamed, documentation added
2021-07-30 10:24:08 +00:00
Michael
6ea3d4aa61
Added API calls, removed fields
2021-07-29 10:34:31 +00:00
Michael
ab24f58bad
Parser is now session
2021-07-27 13:56:28 +00:00
Michael
c89533a70b
Support for stacked profiler analysis
2021-07-27 04:57:29 +00:00
Michael
30aad250df
App->contact is now removed
2021-07-24 11:49:11 +00:00
Michael
01fd128502
API: Support for fetching mails with more "statuses" calls
2021-07-21 05:58:22 +00:00
Michael
c01ca1583c
Added permission check
2021-07-20 21:45:42 +00:00
Michael
d267ba999c
We now use the new account-user-view (and fixed the function name)
2021-07-11 09:39:34 +00:00
Michael
c89547aead
Only proxify images
2021-06-27 19:06:05 +00:00
Michael
b46b7b08ba
Reduce the usage of the "proxifyUrl" function
2021-06-27 11:50:10 +00:00
Philipp
5a6c5e9a17
Fix wrong attachement index
2021-06-20 22:33:05 +02:00
Philipp
d4387d45ee
Cleanup Code
2021-06-20 13:25:45 +02:00
Philipp
322f0b3ecf
Cleanup Mastodon Factories
2021-06-20 13:25:45 +02:00
Michael
11d2440425
New functions for the post-view view
2021-06-16 10:16:01 +00:00
Michael
84028d7342
Proxify the media url
2021-06-11 03:51:11 +00:00
Michael
4ea30af752
Videos are now working as well
2021-06-10 19:55:43 +00:00
Michael
d3833f63e0
Fix account id of notifications
2021-06-01 22:00:12 +00:00
Michael
842cbbaf09
Added notifications for follow requests
2021-06-01 21:13:16 +00:00
Michael
49459821be
Renamed function
2021-06-01 14:23:12 +00:00
Michael
3f0937dd42
API: Show activity notifications
2021-06-01 05:51:03 +00:00
Michael
c076545e3b
API: Only show "bookmarked" on top level post
2021-05-27 10:49:15 +00:00
Michael
6fe916a390
API: improved mail handling
2021-05-22 13:37:04 +00:00
Michael
e10f3f26b9
Removed unused parameter
2021-05-20 04:44:45 +00:00
Michael
db8b0b9666
The next mail endpoint is done
2021-05-20 04:39:45 +00:00
Michael
3d65ef3af2
Indentions
2021-05-19 22:20:56 +00:00
Michael
c1212dce03
Indentions
2021-05-19 22:09:25 +00:00
Michael
70259965df
API: Support for private mails
2021-05-19 21:56:50 +00:00
Michael
3172b0bcf2
Log API errors
2021-05-19 09:03:41 +00:00
Michael
49207a8624
Added scope check
2021-05-16 07:37:11 +00:00
Michael
f001f52e39
API: Fix relationships
2021-05-15 15:02:15 +00:00
Michael
b34ee320b0
API: Many item related endpoints added
2021-05-15 10:08:47 +00:00
Michael
45c2cc3887
API: Account actions
2021-05-14 21:51:32 +00:00
Michael
7975bc244d
Refine OAuth flow
2021-05-13 11:26:56 +00:00
Michael
d1e109d9be
Improved error handling
2021-05-12 03:05:22 +00:00
Michael
975c32116d
Handling media in shared posts
2021-05-11 23:10:59 +00:00
Michael
8eacfbc570
Fix context order / notice fixed
2021-05-11 19:53:19 +00:00
Michael
bade0a2345
Improved cards handling, simplified Bearer handling
2021-05-11 19:15:05 +00:00
Michael
82003bbe47
Login prototype
2021-05-11 06:30:20 +00:00
Michael
1ee1507f3b
Whitespaces ...
2021-05-09 22:26:32 +00:00
Michael
585d283ff9
Preparation for Oauth client registration
2021-05-09 22:23:21 +00:00
Michael
a696b7f427
Renamed functions
2021-05-09 18:44:08 +00:00
Michael
1c6e915514
Media is now supported as well
2021-05-09 12:59:23 +00:00
Michael
f5c7f9670f
Remove blanks
2021-05-09 11:54:34 +00:00
Michael
cc5d4db6a3
Notifications are now supported as well
2021-05-09 11:50:05 +00:00
Michael
5bb5c44bd9
API: added account related endpoints
2021-05-09 09:35:51 +00:00
Michael
dd38cc330f
API: We now support two more timeline api endpoints
2021-05-07 21:28:48 +00:00
Michael
8685e5ca32
Reworked media handling
2021-04-26 06:50:12 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
ce6ad1aa73
Get rid of the "item" table, enhanced "post" tables
2021-02-13 19:56:03 +00:00
Michael
c1d99d6c4c
Most user-item traces removed
2021-01-31 23:37:34 +00:00
Hypolite Petovan
82e094179c
Rename notify classes according the feature name, not the table name
2021-01-24 09:33:23 -05:00
Michael
4157db5473
"item" is replaced by "post-view" / postupdate check added
2021-01-17 20:32:13 +00:00
Michael
2b1d0b9db8
"selectForUser" and "" selectFirstForUser" is now moved to Post
2021-01-16 22:37:27 +00:00
Michael
2fa692bcce
New post class in the rest of the classes
2021-01-16 04:16:09 +00:00
Michael
d666501ee0
Fix fatal error
2020-12-29 22:14:54 +00:00
Hypolite Petovan
8c1e2b9800
Throw exception when item doesn't exist in Factory\Api\Mastodon\Status->createFromUriId
...
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-750464977
2020-12-27 21:15:21 -05:00
Michael
deb6b7a7c3
Fallback to database lock if locking fails
2020-11-16 19:46:20 +00:00
Michael
ba4685dfb1
API: Support for reshared items
2020-11-01 11:01:57 +00:00
Michael
c030275815
API: accounts and trends
2020-10-31 22:32:26 +00:00
Michael
e6030e5f82
API: Media attachments are now supported
2020-10-31 16:10:27 +00:00
Michael
a012234d82
Publish the provider fields in the API
2020-10-26 19:40:09 +00:00
Michael
44a4b66539
Improved self contact detection
2020-10-25 20:40:25 +00:00
Michael
d8d96e6e61
Display the user fields for the admin account
2020-10-25 20:32:45 +00:00
Michael
319ceeda3b
Publish the profile fields
2020-10-25 18:21:18 +00:00
Michael
a643888aeb
More data for the Mastodon status class
2020-10-25 16:13:31 +00:00
Michael
097e3d6dcc
Fix Fatal error: Uncaught TypeError: Argument 1 passed to Friendica\Model\Contact::getByURL() must be of the type string, null given
2020-10-20 15:15:33 +00:00
Philipp
d39ee428f0
Introduce "static/env.config.php" for environment variable mapping to config cache entries
...
- Added new database.port config value (used for MYSQL_PORT)
- Removed now obsolete db environment variable functionality
- Added functionality to load env variables (overwrites DB based cached)
2020-10-06 20:43:29 +02:00
Michael Vogel
2bb725fa30
Apply suggestions from code review
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-09-08 03:39:51 +02:00
Michael
59374eb6c6
Use "StatusCounts" class
2020-09-07 18:24:11 +00:00
Michael
1bca280eae
StdClass instead of arrays
2020-09-07 14:34:05 +00:00
Michael
db6282b5e2
API: Counts added, local query improved
2020-09-06 07:12:04 +00:00
Michael
cd3d4ae4e6
API: New entity "status"
2020-09-03 18:57:18 +00:00
Michael
d9fc0ae0ea
Using a constant value for the default avatar
2020-08-18 20:30:24 +00:00