Hypolite Petovan
a6fb3568f9
Rename dbesc to DBA::escape
2018-07-23 15:30:54 -04:00
Hypolite Petovan
ecea7425f8
Rename DBA::is_result to DBA::isResult
2018-07-23 11:04:14 -04:00
Hypolite Petovan
0ec44f3e8a
Rename DBM method calls to DBA method calls
2018-07-23 11:02:24 -04:00
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 08:19:26 -04:00
Hypolite Petovan
daa1177e3a
Update use statement lists with new Friendica\Database\dba class
...
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
2018-07-19 22:15:21 -04:00
Michael Vogel
5af9596dde
New item field "Post-type" and new table "permissionset" ( #5408 )
...
* "post-type" replaces "bookmark" and "type"
* Removed some more type
* Added index to permission set
* The permission set is now stored
* The permission set is now removed upon expiry
* Post update now stores the permission set
* New file
* Permissions are now sorted
* Changed documentation
2018-07-19 09:52:05 -04:00
Hypolite Petovan
67dc08d120
Enforce systen.register_policy value type
2018-07-16 19:38:19 -04:00
Hypolite Petovan
5906c7e013
Remove api test pconfig debug
2018-07-16 19:38:17 -04:00
Hypolite Petovan
224765cdf5
Wrong table name
2018-07-16 19:38:16 -04:00
Hypolite Petovan
f8a90f3425
Add more api test debug
2018-07-16 19:38:16 -04:00
Hypolite Petovan
de0afd3b32
Add api test debug
2018-07-16 19:38:16 -04:00
Michael Vogel
0360f7197a
Several more warnings ... ( #5340 )
...
* Some more warnings removed
* Even more warnings ...
* Will it ever end? ;-)
* Avoid warning in dbstructure
* Origin and OStatus ...
* There are more warnings solved ... yeah!
* And again ...
* We are not done yet
* And more ...
* And some new places ...
* And more in the feeds
* Avoid some more
* And some backend stuff
* Notifications cleared
* Some more stuff
* and again ...
* It's getting fewer ...
* Some warnings had been hidden in the notifications
* Fix the fix
* And another missing one ...
* We need the owner here, not the user
* Forgotten user
* And more ...
* And some more warnings disappeared ...
* Some more frontend warnings
* Some backend warnings removed
* Fixed sidebar for "vier"
* And more ...
* Some more ...
* And something for "remote self"
* Am I stuck in an endless loop?
* Fix: Clear tag and file field on update
* Preset page content
2018-07-10 08:27:56 -04:00
c829e43725
moved get_guid to System::createGUID
2018-07-09 21:38:16 +02:00
3e797547a3
Warnings fixed
2018-07-08 09:37:05 +00:00
Michael Vogel
ff5ee74ecf
Merge branch 'develop' into item-activities
2018-07-08 06:35:50 +02:00
4d35e228c4
More item abstraction / making remote deletion work again
2018-07-07 18:14:16 +00:00
Hypolite Petovan
e44111e935
Revert renaming lang to language in api
...
- Normalize some quotes
- Put "Empty user-agent" log message in a else statement
2018-07-04 17:33:09 -04:00
Hypolite Petovan
43688c04b1
Add NotFoundException for recipients in api_direct_messages_new()
2018-07-02 07:48:59 -04:00
Hypolite Petovan
cb7176ee70
Fix Config use in api_statusnet_config()
2018-07-02 07:48:53 -04:00
Hypolite Petovan
757fd357f6
Fix yet more undefined variable/index notice in api
2018-07-02 07:48:48 -04:00
Hypolite Petovan
dde61a77a4
Fix root element containing only text in api_create_xml()
2018-07-02 07:48:42 -04:00
Hypolite Petovan
62eba48679
Fix yet more undefined variable/index messages in api_statuses_show
2018-07-02 07:48:38 -04:00
Hypolite Petovan
a380bcd1c1
Fix more undefined variable/index notice in tests
2018-07-02 07:45:25 -04:00
Hypolite Petovan
a329ce5b50
Fix $called_api expecting at least 2 elements in tests
2018-07-02 07:45:11 -04:00
Hypolite Petovan
6776c4e3f9
Fix some undefined variable/index notices in tests
2018-07-02 07:44:55 -04:00
028c9f4da5
We now store the verb in the item-content as well
2018-06-27 19:37:13 +00:00
76dab3b2d7
Use gravity instead of verb
2018-06-27 18:09:33 +00:00
b03db4643f
The fetch function now centrally controls the content
2018-06-24 10:48:29 +00:00
d643e00d33
Standards and a new function to fetch content
2018-06-21 15:14:01 +00:00
e4adaa9900
Standards and variable renaming
2018-06-19 17:11:59 +00:00
a5ca724fd3
Merge remote-tracking branch 'upstream/develop' into more-abstraction
2018-06-19 13:48:19 +00:00
4714cb746b
Use the item functions at many more places
2018-06-18 20:36:34 +00:00
Michael Vogel
f828350ba2
Merge pull request #5234 from fabrixxm/fix/api
...
API: fix sender/recipient of PMs
2018-06-18 12:03:53 +02:00
fabrixxm
e3ee9ee501
API: fix sender/recipient of PMs: check api_user before get user info.
...
To throw ForbiddenException and pass tests
2018-06-18 11:55:02 +02:00
507956818d
Use the item classes where possible
2018-06-18 05:19:28 +00:00
fabrixxm
c015bb1b77
API: fix sender/recipient of PMs
2018-06-17 19:57:32 +02:00
6e10de9284
New function to fetch item data especially for users
2018-06-17 17:05:17 +00:00
0280a46ab4
Use predefined field lists
2018-06-17 06:27:52 +00:00
14cb128264
New function for generating item URI
2018-06-16 06:44:19 +00:00
defd3d15b6
Possibly fixed test
2018-06-09 20:39:40 +00:00
b6c344a80a
$r was still in use
2018-06-09 20:08:15 +00:00
50dfc7d36e
Small query corrections
2018-06-09 19:27:44 +00:00
446a45003d
Added documentation, some indention fixes
2018-06-09 19:12:13 +00:00
baf316e898
The central item fetch does work now and the API now uses these functions
2018-06-09 16:56:37 +00:00
e632be763c
Corrected variable
2018-06-05 05:44:04 +00:00
18a77a1b45
Removed some quick and dirty hack to upload pictures
2018-06-05 05:42:26 +00:00
443d828ba7
We don't need to look for the uid
2018-06-03 10:29:42 +00:00
6985ad4fb5
Improved error message
2018-06-03 09:55:41 +00:00
b654af28fa
We need "global"
2018-06-03 09:40:32 +00:00
ea498ff283
And a second SQL error fixed
2018-06-03 09:21:48 +00:00