Philipp Holzer
f9e3ff4b55
Remove unnecessary hash function.
...
- Was introduced for getting the last inserted ID before "lastInstertID()" was possible
- See b821399f00 (diff-a8e86a3c07531e66a3b0b4c8b4b07879R148)
2019-11-09 21:50:52 +01:00
Philipp Holzer
a72e65a760
Adapt class structure
...
- Introduce constants
- Add constructor parameters
- Add typehints
- Renamed fields more meaningful
- Renamed method names to match identifier
- Adjust PHP doc
- Add GetClass call at used places
2019-10-26 04:03:27 +02:00
Philipp Holzer
1f368d469f
Move Friendica\Core\NotificationsManager to Friendica\Model\Notify
2019-10-26 02:01:46 +02:00
Philipp Holzer
3897c74deb
Add docs
2019-10-25 00:10:20 +02:00
Philipp Holzer
07cea24430
Move Activity/Namespaces defines to constants
2019-10-24 21:40:12 +02:00
Philipp Holzer
edf006905b
Move (last) get_cats_and_terms to Content\Item::determineCategoriesTerms()
...
- Added incomplete test
2019-10-23 02:48:46 +02:00
Philipp Holzer
ad67fd3aa8
Move is_a_date_arg to DateTimeFormat::isYearMonth
...
- Improved functionality
- Added tests
2019-10-23 02:39:28 +02:00
Philipp Holzer
52c42491c4
Move activity_match() to Protocol\Activity::match()
...
- With tests
2019-10-23 02:05:11 +02:00
Philipp Holzer
9e94e8b48c
Remove function prepare_text and use BBCode::convert() instead
2019-10-23 00:58:13 +02:00
Philipp Holzer
2c31916757
Remove unused function qp()
2019-10-23 00:55:14 +02:00
Philipp Holzer
5843a80b6c
Move perms2str to ACLFormatter::aclToString()
...
- including new tests
2019-10-23 00:54:34 +02:00
Philipp Holzer
f65f7f11c3
Move expand_acl to ACLFormatter::expand()
...
- including tests
2019-10-23 00:40:14 +02:00
Philipp Holzer
7a9c5d10ee
Remove unused function attribute_contains
2019-10-23 00:22:39 +02:00
Philipp Holzer
a3e350313d
Move redir_private_images to Item::addRedirLinkToImageLinks()
2019-10-23 00:20:44 +02:00
Philipp Holzer
4704bf6394
Remove unused function return_bytes
2019-10-23 00:15:17 +02:00
Philipp Holzer
2870f42ca2
Move bb_translate_video
...
- To new Class BBCode\Video
- Adding tests
- Make BaseObject::getClass() public
2019-10-23 00:14:47 +02:00
Philipp Holzer
7f49c73730
Move undo_post_tagging to mod/editpost because of the only occurrence
2019-10-22 23:57:44 +02:00
8b836189d4
Replace deprecated defaults() calls with ?? and ?: in include/ and view/
2019-10-16 08:51:03 -04:00
f498068b0f
Replace deprecated defaults() calls in include/api and boot
2019-10-12 22:01:34 -04:00
cb4950a3be
Replace duplicated authentication code in FKOAuth1 with Session::setAuthenticatedForUser
2019-10-06 11:17:30 -04:00
2333526b8a
Merge pull request #7678 from annando/remote-rework
...
Reworked the remote authentication
2019-09-30 09:18:43 -04:00
Philipp Holzer
d5dd12b8f8
Add Drone CI
...
- Add drone test environment
- Add drone config
- apt phpunit
- Fix api.php
- Fix item.php
- Fix DBStructure
- Check if caching is possible during tests
2019-09-30 14:03:12 +02:00
83b00ef308
New function "isAuthenticated"
2019-09-28 18:09:11 +00:00
6e9026e033
Renamed function, beginning to replace the "remote_user" function
2019-09-28 09:36:41 +00:00
ec66553032
Reworked "remote" cookie handling
2019-09-25 22:24:17 +00:00
461c3169b1
Issue 6521: Don't send notifications for deleted items
2019-09-10 05:44:09 +00:00
8fc8e26e23
Replace not working "redir" link with a working one
2019-09-09 21:37:26 +00:00
a7d23a1196
API Support "friendica_html"
2019-09-03 21:11:33 +00:00
9cbf320c86
Issue 7563: Use icons instead of names on posts
2019-08-28 06:38:35 +00:00
ae3c9eceed
Support for posting multiple pictures via API
2019-08-06 05:34:04 +00:00
c3e3e83a52
Improve BBCode:toPlaintext
...
- Fix issue where matching literal square brackets were removed with their content
- Fix issue where content without line feeds between BBCode tags would end up compacted in plain text
- Update extr calls to BBCode::toPlaintext in api
2019-08-04 10:22:23 -04:00
1b7f96dac8
Partly reverted, real problem fixed
2019-08-04 04:29:52 +00:00
cb77b1af8c
API: We now transmit the text description there as well
2019-08-04 03:45:23 +00:00
fc59aa6bc7
The "contact-uid" is now a reliable proof for contacts that we follow
2019-08-03 10:44:16 +00:00
6c4fea5e6c
Merge pull request #7459 from annando/notice
...
Fix a notice when setting a picture description via API
2019-08-02 13:26:47 -04:00
5dc74513cc
Fix a notice when setting a picture description via API
2019-08-02 16:43:36 +00:00
Michael Vogel
e8459cce34
Merge pull request #7381 from MrPetovan/task/7309-frio-compose
...
[frio] New Compose page
2019-08-01 08:15:02 +02:00
b4c673a620
We now use a central function for fetching the postdata
2019-07-30 22:26:01 +00:00
223cb8f037
We can now set image descriptions via API
2019-07-30 05:02:26 +00:00
0579252362
Add user meta-groups for followers and mutual contacts
...
- Both Group::expand and Item::enumeratePermissions now have a user id parameter to expand meta-groups
2019-07-29 20:31:46 -04:00
b684fffcb7
Replace last instance of Contact::select
2019-07-27 23:51:04 -04:00
Philipp Holzer
2f5928f43a
Refactoring Profile:: selectors
2019-07-28 00:19:38 +02:00
Philipp Holzer
46211de037
Fix DBA::fetch in API
2019-07-27 23:54:15 +02:00
Philipp Holzer
b7f1de1e64
Revert $term DB result check
2019-07-27 23:54:14 +02:00
Philipp Holzer
2a87464c97
Replace q() call with Profile::get() method
2019-07-27 23:54:12 +02:00
5120c27d10
Fix displaying of reshared items
2019-07-27 20:21:11 +00:00
hlad
c8ee4cc49f
we work with utf8 string so we should use multibyte functions
2019-07-26 12:57:39 +02:00
cd257dc7e8
Enable app-specific password authentication for API login
2019-07-22 07:56:36 -04:00
23830dc45f
Preparation for quoted reshares on AP
2019-07-20 21:32:19 +00:00
Philipp Holzer
8f0aa0ca5a
bugfix: add missing group by parameters
2019-07-14 22:12:14 +02:00