Michael
c65fff6f93
Some more improvements for posts with shares
2022-10-26 17:00:55 +00:00
Michael
f54a886a5e
The "share" handling is improved
2022-10-25 06:37:23 +00:00
Roland Häder
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
Roland Häder
074bae33c9
Changes:
...
- added some missing type-hints
- added some documentation
- added some empty lines to `@return` statements (code-style convention)
2022-08-12 13:36:34 +02:00
Roland Häder
33c7abd376
Changes:
...
- methods should ALWAYS start lower-case, not upper
- documented a bit more
2022-08-12 13:13:54 +02:00
Roland Häder
9794ce0c87
Changes:
...
- added type-hint for $type parameter
- documented method
- unsupported verbs logged
2022-08-12 13:09:59 +02:00
Roland Häder
4875524101
Fixed:
...
- added exception to prevent `TypeError` because of missing `uri-id` entry
- maybe fixes #11708
2022-07-05 18:53:51 +02:00
Roland Häder
fbae0b8bcf
Changes:
...
- renamed ItemArrayFromMail() to getItemArrayFromMail() to follow naming-convetion
- added missing type-hints
- added missing documentation
2022-06-20 21:22:46 +02:00
Roland Häder
2766c7d9cf
Continued:
...
- added more type-hints
- added some missing documentation
2022-06-17 17:18:31 +02:00
Michael
4157f816f5
Fix for account variable name
2022-06-10 20:32:21 +00:00
Michael
9a1abda314
Use "avatar" instead of "contact"
2022-06-10 20:26:57 +00:00
Michael
7e747b2f41
API: Speed improvements when fetching posts
2022-06-10 18:49:03 +00:00
Michael
9b646dad97
API: We can now display polls
2022-04-22 19:24:22 +00:00
Michael
75bc4eccb7
Display featured posts for contacts
2022-04-07 21:52:25 +00:00
Michael
5eb647585d
Issue 11315: Fix for all receivers in "to"
2022-03-11 20:39:03 +00:00
Michael
e0468ac914
API: Improve support for the summary field
2022-03-08 18:32:09 +00:00
Michael
772294494e
API: Fix display of reshares / return value of activities
2022-02-28 20:10:42 +00:00
Michael
6415fc62a0
Fix missing field
2022-02-25 19:27:25 +00:00
Michael
bf5c8a2c43
API: several fixes to the Twitter/Statusnet API
2022-02-25 19:16:40 +00:00
Michael
71cf72cc8b
Standards
2022-01-16 20:49:59 +00:00
Michael Vogel
b38c9bed6f
Apply suggestions from code review
...
Co-authored-by: Philipp <admin+Github@philipp.info>
2022-01-16 21:47:12 +01:00
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 Holzer
c588b280d7
Fix all license header & be less aggressive
2022-01-07 00:35:28 +01:00
Philipp Holzer
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 Holzer
e61ed41972
Add feedback (title/text/html)
2022-01-02 00:21:01 +01:00
Philipp Holzer
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 Holzer
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
4236a9a105
Improved http error handling
2021-10-29 23:21:07 +00:00
Philipp Holzer
5d92713a8e
Rename Depository to Repository
2021-10-23 21:45:36 -04:00
Philipp Holzer
a40f503fdd
Move Introduction to new depository paradigm
2021-10-21 21:49:20 +02:00
Philipp Holzer
b5d994394e
Fixing PUBLIC usage, Fixing DB-View, Creating tests
2021-10-18 23:32:45 +02:00
Philipp Holzer
a9981c792e
Use ProfileField::selectPublicFieldsByUserId
2021-10-18 23:32:39 +02:00
Philipp Holzer
1c0f92c382
Move ProfileField from Model to Entity
2021-10-18 23:32:38 +02:00
Philipp Holzer
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
3e6fea30f2
Create constants for Mastodon notification types
2021-10-02 18:15:44 -04: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
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
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 Holzer
5a6c5e9a17
Fix wrong attachement index
2021-06-20 22:33:05 +02:00
Philipp Holzer
d4387d45ee
Cleanup Code
2021-06-20 13:25:45 +02:00
Philipp Holzer
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
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
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 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
Hypolite Petovan
173264eaab
Add Twitter User Object and Factory
2020-06-08 21:51:42 -04:00
Michael
0cf517ad76
Use constants for the BBCode modes
2020-05-16 16:28:15 +00:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
Hypolite Petovan
608e634858
Update Mastodon API with new profile field entity
2020-01-29 23:30:38 -05:00
Hypolite Petovan
07a4bb73fa
Add DDD classes for Mastodon\Field entity
2020-01-29 23:26:07 -05:00
Hypolite Petovan
bd910342df
Add custom emojis Mastodon API endpoint
2020-01-28 08:14:48 -05:00
Hypolite Petovan
1ac9107e5f
Move Mastodon API factories to Factory\Api\Mastodon
2020-01-28 07:33:55 -05:00