Commit graph

278 commits

Author SHA1 Message Date
b3e20b1685 New database version 2017-08-14 05:49:49 +00:00
2bad626be6 Bugfix: Signatures for likes hadn't been stored 2017-07-15 04:03:50 +00:00
4515c36f69 Semaphore based locking and hopefully the fix for the workerqueue 2017-06-28 04:53:11 +00:00
2ad784d37a Speeded up calling "proc_run" 2017-06-07 05:42:30 +00:00
8d13751d40 Increased database version 2017-06-06 12:07:27 +00:00
945d3cc048 The constant CURLE_OPERATION_TIMEDOUT isn't defined on older PHP versions 2017-06-03 19:46:19 +00:00
21eb9a4b2e Fixed locking behaviour for the worker 2017-06-03 07:25:01 +00:00
782783aa52 New function "dba::update" and changed unique index for the conversations 2017-04-28 05:50:27 +00:00
35dc56c9c2 Salmons with Mastodon seem to work now 2017-04-27 20:38:46 +00:00
45d73b106b Conversation data is now stored in another table 2017-04-26 21:16:25 +00:00
Alexandre Alapetite
62768a1bb4 Bump version to 1219
https://github.com/friendica/friendica/pull/3321#pullrequestreview-32528437
2017-04-16 15:23:57 +02:00
Alexandre Alapetite
6b250d3ae9 Merge branch 'develop' into MySQL5.7 2017-04-16 15:16:58 +02:00
358aa1d7ef Database version updated 2017-04-14 22:34:01 +00:00
e7783e2018 Merge remote-tracking branch 'upstream/develop' into issue-3326 2017-04-14 22:30:48 +00:00
fdcb6d3c6f Issue 3326: We are now completely working with utf8mb4 2017-04-14 07:58:56 +00:00
Alexandre Alapetite
b8e4094e7b Allow negative contact.contat-type
https://github.com/friendica/friendica/issues/3328
2017-04-12 23:09:22 +02:00
Alexandre Alapetite
d2901dcb00 Fix for MySQL 5.7+
https://github.com/friendica/friendica/issues/2786

Only tested on Ubuntu 16.10 with MySQL 5.7.17.

https://dev.mysql.com/doc/refman/8.0/en/timestamp-initialization.html

https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html#sqlmode_no_zero_date
As of MySQL 5.7.4, NO_ZERO_DATE is deprecated.

Patch based on the following search & replace (and then reverting some
changes in libraries):

```sh
grep -l '= "0000-00-00"' -r . | xargs sed -i -e "s/= \"0000-00-00\"/=
'0000-00-00'/g"

grep -l "0000-00-00" -r . | xargs sed -i -e "s/0000-00-00/0001-01-01/g"

grep -l "!= '0001-01-01'" -r . | xargs sed -i -e "s/!= '0001-01-01'/>
'0001-01-01'/g"

grep -l " === '0001-01-01'" -r . | xargs sed -i -e "s/ === '0001-01-01'/
<= '0001-01-01'/g"

grep -l " == '0001-01-01'" -r . | xargs sed -i -e "s/ == '0001-01-01'/
<= '0001-01-01'/g"

grep -l "strpos(\$dob, '0000-') === 0" -r . | xargs sed -i -e
"s/strpos(\$dob, '0000-') === 0/strpos(\$dob, '0000-') === 0 ||
strpos(\$dob, '0001-') === 0/g"

grep -l 'array("", "0001-01-01")' -r . | xargs sed -i -e 's/array("",
"0001-01-01")/array("", "0000-00-00", "0001-01-01")/g'

grep -l "\$dob = '0000-'" -r . | xargs sed -i -e "s/\$dob =
'0000-'/\$dob = '0001-'/g"
```
2017-04-11 23:00:45 +02:00
222550e784 From now on we are using 0001-01-01 as lowest date 2017-03-18 11:42:54 +00:00
4812f4c0f9 Without only the worker queue we don't need the deliverq anymore. 2017-03-16 07:30:59 +00:00
5c92e97173 Added index for performance issues 2017-03-02 05:46:44 +00:00
402c74f8ea Changed database.sql 2017-01-20 15:00:14 +00:00
0548099f6c The config class now makes less database reads. 2017-01-18 21:45:32 +00:00
6972faa3a8 Redo some work 2017-01-16 22:11:35 +00:00
1dcd355e47 Changed database version 2017-01-16 21:45:27 +00:00
021a4fad71 Some more database stuff 2017-01-15 12:36:06 +00:00
29ef8d29ce Better usage of text and mediumtext. 2017-01-13 22:13:52 +00:00
f14cd2920a database.sql was updated 2017-01-07 22:04:57 +00:00
55ee80338f Events are now shared with Diaspora. 2016-12-30 03:31:38 +00:00
39c674f9a0 updated database.sql 2016-12-26 23:44:21 +00:00
b95bf00e89 Additional info in registration request 2016-11-19 18:22:49 +01:00
Hypolite Petovan
f1c855e755 ping.php performance: Cache notification bbcode
- Add two fields to notifiy table to store cached bbcode result
- Add bbcode conversion on notif creation
- Add postfact caching if cache field is empty on retrieval
2016-10-28 06:28:16 -04:00
Hypolite Petovan
b8d6dc5912 Fix Issue #2816 - Bump database version 2016-10-06 21:01:25 -04:00
Hypolite Petovan
645fd414d5 Merge remote-tracking branch 'refs/remotes/origin/develop' into Issue-#2816-2 2016-10-06 20:58:28 -04:00
Hypolite Petovan
3e46c69bf6 Fix wrong database version number in comment 2016-10-05 16:40:54 -04:00
Michael Vogel
5f9f3b3570 Added the database field to database.sql 2016-10-04 03:53:31 +00:00
Hypolite Petovan
28d13f8060 Fix Issue #2816 - Update database.sql 2016-10-02 00:25:07 -04:00
Michael Vogel
2a93c5b816 Little fix to the utf8mb4: Now here's the changed database.sql 2016-10-01 20:27:49 +00:00
Michael Vogel
d632d282cd We are now having an account type and are publishing it 2016-09-25 20:37:27 +00:00
Michael Vogel
196eb6009f The XMPP address is now in the profile and will be transmitted 2016-09-25 15:28:00 +00:00
Michael Vogel
6df40b1161 sQL: No "NOT NULL" on text fields. 2016-09-03 15:06:42 +00:00
Michael Vogel
59ff309ee5 Add the new charset parameter to the database creation 2016-09-01 04:44:29 +00:00
Michael Vogel
8bf7db06db New indexes for the API 2016-07-19 08:43:57 +02:00
Michael Vogel
84aa01b377 Bugfix: Diaspora connects to a Soapbox account weren't established correctly 2016-07-10 12:09:58 +02:00
Michael Vogel
c7373dcec4 author-id/owner-id: Post update function/added database documentation 2016-06-23 21:15:54 +02:00
Michael Vogel
140886a6a5 Updated database.sql 2016-06-20 06:29:56 +02:00
Michael Vogel
0e35427dfc New fields "author-id" and "owner-id" in the item table 2016-06-15 21:20:55 +02:00
Michael Vogel
fc66a86dc5 Some optimized sql queries 2016-06-06 22:57:27 +02:00
Michael Vogel
ae75a46529 the "nurl" index was accidentally dropped 2016-04-17 16:41:28 +02:00
Michael Vogel
017bfe17f8 Speeding up the gcontact search 2016-04-17 13:46:49 +02:00
Michael Vogel
16b92af71f Retraction do work as well 2016-03-17 12:24:23 +01:00