Michael
ff3728be47
Cleaning up the stuff
2017-01-05 22:51:31 +00:00
Michael
2deb2b637b
Some new indexes and some removed.
2017-01-05 22:23:00 +00:00
Michael
6cdccbe2f6
Will we now find the best index fort the contact?
2017-01-05 17:48:51 +00:00
Michael
7aaf91a620
Removing and adding some indexes
2017-01-05 13:16:27 +00:00
Michael
9c7a2d2f9a
Another index
2017-01-05 09:32:16 +00:00
Michael
a4e437b56f
Contact testing
2017-01-05 09:10:02 +00:00
Michael
a92c5f464d
Hopefully this it it ...
2017-01-05 08:02:21 +00:00
Michael
db1c6c06d6
Finding the best index ...
2017-01-05 07:30:10 +00:00
Michael
00d7835ba6
Some more contact indexes
2017-01-05 07:12:13 +00:00
Michael
cefb36fb67
Some more indexes on the contact table
2017-01-04 23:28:51 +00:00
Michael
c221376041
Some notification thingy
2017-01-04 23:12:28 +00:00
Michael
44d966574d
Some more indexes and other query improvements
2017-01-04 19:13:50 +00:00
Michael
6b6e3e264f
Merge remote-tracking branch 'upstream/develop' into 1612-unused-indexes
2017-01-04 13:57:27 +00:00
Michael
55ee80338f
Events are now shared with Diaspora.
2016-12-30 03:31:38 +00:00
Michael
3ba1ac595f
New binary data fields to avoid index length problems
2016-12-25 21:04:10 +00:00
Roland Häder
2325d81048
Code style changed:
...
- added more curly braces
- made SQL keywords all-uppercase
- added spaces between if/foreach and brace
- // Is for single-line comments *only*, please don't abuse it for multiple
line comments, use /* */ instead and a asterisk in front of every line.
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-22 16:52:28 +01:00
Michael
23cef0936f
Merge remote-tracking branch 'upstream/develop' into 1612-unused-indexes
2016-12-20 16:27:16 +00:00
Michael
37ce5ce886
Remove indexes that we don't use anymore
2016-12-20 07:14:59 +00:00
Roland Häder
884f44ce94
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-19 14:27:16 +01:00
Roland Häder
a905522eb5
Cleanup for #3010 - added spaces, thanks to @annando .
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-14 09:42:36 +01:00
Roland Häder
63610c7b73
Merge branch 'rewrites/dbm_is_result' of github.com:Quix0r/friendica into rewrites/dbm_is_result
...
Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
include/Photo.php
include/api.php
include/cache.php
include/dbstructure.php
include/enotify.php
include/items.php
include/onepoll.php
include/queue_fn.php
include/session.php
include/text.php
mod/contacts.php
mod/dfrn_request.php
mod/display.php
mod/events.php
mod/item.php
mod/message.php
mod/msearch.php
mod/photos.php
mod/poco.php
mod/profile.php
mod/proxy.php
mod/videos.php
update.php
view/theme/diabook/theme.php
view/theme/vier/theme.php
2016-12-13 11:00:44 +01:00
Tobias Diekershoff
b95bf00e89
Additional info in registration request
2016-11-19 18:22:49 +01:00
Michael Vogel
9dd3e9d19a
Merge pull request #2878 from Hypolite/improvement/ping-performance
...
Improving ping.php performance
2016-11-02 21:56:18 +01:00
Michael
7bd79c67a7
Avoiding deadlocks and small sql improvements
2016-10-29 20:17:33 +00:00
Hypolite Petovan
8e50254bb9
Merge branch 'develop' into improvement/ping-performance
2016-10-28 22:26:38 -04: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
Michael Vogel
80efc422bf
Added documentation
2016-10-25 05:44:57 +00:00
Michael Vogel
ee5ada6991
We now use memcache if configured and installed.
2016-10-23 21:59:40 +00:00
Michael Vogel
bc324c3ef4
Setting for the callstack in the database query added
2016-10-21 23:42:45 +00:00
Michael Vogel
501c45def5
Some more improved queries
2016-10-21 18:25:21 +00:00
Michael Vogel
fd2d8cc180
Orphans are removed without giant lock problems
2016-10-20 22:05:21 +00:00
Michael Vogel
3e5cf5290e
Improved queries, more uncommitted queries
2016-10-17 18:38:51 +00:00
Michael Vogel
4404bf1651
The creation of unique keys failed for MariaDB
2016-10-09 07:01:19 +00: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
c1611fd3f6
Fix Issue #2816 - Add backward compatible server_info support
2016-10-04 23:43:44 -04:00
Michael Vogel
095fa872ed
Contact Type is now transmitted via poco
2016-10-04 03:48:01 +00:00
Hypolite Petovan
a052fe4a98
Fix Issue #2816 - MySQL version typo
2016-10-03 19:17:40 -04:00
Hypolite Petovan
0e8ae82a5c
Fix Issue #2816 - Add MySQL version condition for IGNORE
...
- Checks for MySQL version before adding the IGNORE keyword on index
creation
- Added new dryrun command to usage text
2016-10-03 19:06:47 -04:00
Hypolite Petovan
b3ac6189b3
Merge remote-tracking branch 'friendica/develop' into Issue-#2816-2
2016-10-03 19:04:57 -04:00
Michael Vogel
6d16c39b7e
dbstructure now switches in the maintenance mode when updating
2016-10-02 13:52:52 +00:00
Hypolite Petovan
3f619726b1
Fix Issue #2816 - Update dbstructure instead of update
...
- Add UNIQUE index support to `update_structure()`
- Move DB update from `update.php` to `dbstructure.php`
- Update DB_VERSION to 1210
2016-10-01 23:29:30 -04:00
Michael Vogel
f4f09f08b5
Removed unneeded line
2016-10-01 08:33:09 +00:00
Michael Vogel
efd574ab83
Support of utf8mb4
2016-10-01 08:21:37 +00:00
Michael Vogel
6b318ed304
We should only use utf8mb4 for dumpsql and new installations
2016-09-29 06:31:42 +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
Roland Häder
50d168ab6b
Use more dbm::is_result()
...
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-09-19 22:13:33 +02:00
Michael Vogel
1caa87dce6
Restructured the way, processes are inserted and removed
2016-09-09 20:55:49 +00:00
Michael Vogel
22f32d9721
New process table for a better detection of running workers
2016-09-09 20:33:54 +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
e46dae3937
Removed some accidentally written code
2016-08-27 19:53:09 +02:00
Michael Vogel
a156d59e2a
dbstructure: Set the version when updating manually
2016-08-27 19:50:19 +02: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
e512a83ecc
Massively updated avatar handling
2016-06-19 01:07:20 +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
Michael Vogel
56cb6cc897
Removed just more old diaspora function calls.
2016-03-14 20:53:44 +01:00
Michael Vogel
7b2fadcf43
Get rid of the "guid" table. We don't need it anymore.
2016-02-09 10:21:10 +01:00
Michael Vogel
eba9f15daa
Removed some more work
2016-01-28 11:18:57 +01:00
Michael Vogel
6f662b8c74
New avatar picture fields to better cope with changing avatars
2016-01-28 01:26:19 +01:00
Michael Vogel
268467fe04
Add the creation date to the cache tables
2016-01-15 00:58:57 +01:00
Michael Vogel
d5e1f33506
OEmbed and parse_url are now cached in dedicated tables
2016-01-14 23:59:51 +01:00
Michael Vogel
885dc1df81
gcontact update script, rebuilt follow page, query speedup for community and network groups
2016-01-10 09:19:00 +01:00
Michael Vogel
9521cdc18f
notify and alias are now in gcontact as well - the contact expansion in mod/item.php is renewed
2016-01-07 23:43:16 +01:00
Michael Vogel
5ab2786c00
Get rid of the table "unique_contacts"
2016-01-06 22:23:12 +01:00
Michael Vogel
2bad2cdd91
More fields in gcontact, contact search respects "hide" setting
2016-01-06 14:13:59 +01:00
Michael Vogel
75e2ec01fe
The gcontact will now be connected to the items
2016-01-05 15:34:27 +01:00
Tobias Diekershoff
8a5fada863
Merge pull request #2138 from fabrixxm/dbstructure_multicolumn_primarykey
...
Allow multicolumn primary keys in dbstructure
2015-12-31 09:49:00 +01:00
fabrixxm
f97e20acd3
add support to schema modification with multi-column primary key
2015-12-08 10:35:08 +01:00
root
37a70d3204
modified: include/dbstructure.php removed uneeded break; It causes errors with php 7.0.
2015-12-04 19:49:09 +00:00
Fabrixxm
95508bf4bb
Allow multicolunn primary keys in dbstructure
2015-12-03 16:39:20 +01:00
Michael Vogel
d6080f4c76
The "addr" field is now in the global contacts as well.
2015-11-05 08:37:00 +01:00
Michael Vogel
17b1d45968
Worker: New method for running background processes
2015-09-09 22:42:31 +02:00
Michael Vogel
b52bc71c6c
Now you can define the duration of the cache entries.
2015-08-24 17:24:14 +02:00
Michael Vogel
6ab304b564
Bugfix: Fetching data from noscrape had several issues
2015-07-30 16:30:18 +02:00
Michael Vogel
e3e9de2e74
Export all federation contacts through poco
2015-07-24 07:23:57 +02:00
Michael Vogel
bb5186ae27
Use an ID as a primary field.
2015-07-23 08:35:45 +02:00
Michael Vogel
9717fa82fe
New field "created" in gcontacts. New option for timeframe when polling global contacts
2015-07-21 00:05:44 +02:00
Michael Vogel
38d7b5e326
New table "gserver" for server data of the global contacts
2015-07-18 20:15:21 +02:00
Michael Vogel
639f94f8b9
Onepoll: mark the last request failure for this contact
2015-07-17 23:05:50 +02:00
root
54a5a80b24
Poco: New fields for last contact and last failure of a contact.
2015-07-17 01:08:28 +02:00
Michael Vogel
bea70296bf
Fixes slow performance after one of the last pull requests.
2015-06-02 22:07:39 +02:00
Michael Vogel
261cd441c7
Merge remote-tracking branch 'upstream/develop' into 1504-condensed-notifications
2015-04-21 10:13:28 +02:00
Hauke Altmann
62b4f117bf
bug fix: "local_" has 6 not 5 characters
2015-04-17 10:02:17 +02:00
Hauke Altmann
c292d01723
bug fix: substring is not a PHP function %-)
2015-04-17 09:59:28 +02:00
hauke
00cbc383f5
code cleanup
2015-04-16 21:07:46 +02:00
hauke
0d61e462fe
preserve local index of friendica database when updating
2015-04-16 21:05:37 +02:00
Michael Vogel
d42cea51a2
The item id is now stored in every notification as well
2015-04-16 07:18:06 +02:00
Michael Vogel
178b7eba1b
Merge pull request #1487 from fabrixxm/projects
...
new api dfrn/remoteauth, allow plugins to use update_structure
2015-04-13 15:47:11 +02:00
Michael Vogel
9a35e861ce
New field in the contact table to better detect "dead profiles"
2015-04-12 11:40:38 +02:00
fabrixxm
73248f7dda
allow to update generic subsets of tables
2015-04-06 21:03:11 +02:00
fabrixxm
7c33c9cca1
fix SQL generation, update database.sql
2015-03-25 10:03:17 +01:00
fabrixxm
b2b1de5a01
Create database.sql
from include\dbstructure.php
...
add two commands to `dbstructure.php` when called from cli:
'update' updates the database schema
'dumpsql' dump database sql to stdout
2015-03-25 09:47:59 +01:00
Michael Vogel
7a39626a6c
The index for the term search is now massively improved.
2015-03-10 00:23:49 +01:00
Michael Vogel
ea06a1ec45
There is now a "global" field in the item table that tells if this item is present as global copy as well.
2015-03-09 00:45:53 +01:00
Michael Vogel
2260415ca9
"global" flag for terms that indicate if the term is present in the global posts.
2015-03-08 03:27:14 +01:00
Michael Vogel
7c4a1a059d
New fields for the term table, improved query for the tag search. Changed the cache handling for rendered bbcode.
2015-03-07 21:24:39 +01:00
Michael Vogel
d1d794f1ab
The global contacts now contain a "generation" value that defines how we know this contact
2015-02-15 10:52:45 +01:00
Michael Vogel
2f400627c7
Support for keywords and gender in (global) contacts.
2015-01-25 13:19:37 +01:00
Michael Vogel
597ef20b71
"about" and "location" is now included in global contacts as well.
2015-01-25 02:29:46 +01:00
fabrixxm
418ac91c31
Merge pull request #1274 from annando/issue-1218
...
Issue 1218: generate $argv and $argc from $_SERVER if it wasn't defined
2015-01-09 11:44:38 +01:00
Michael Vogel
8f1cfac20a
The global contacts now contain the network name so that the suggestions can select between this.
2015-01-08 07:59:20 +01:00
Michael Vogel
46db8575a0
The table "unique_contacts" now has an "about" and "location" field as well.
2015-01-08 01:32:19 +01:00
Michael Vogel
d49c3e99ac
Suggest only active accounts. Remove duplicates from gcontact table.
2015-01-05 08:03:29 +01:00
Michael Vogel
003e87b112
Merge remote-tracking branch 'upstream/develop' into issue-1218
2015-01-04 20:21:49 +01:00
Michael Vogel
7084adfd1c
Merge remote-tracking branch 'upstream/develop' into 1501-enhanced-poco
...
Conflicts:
boot.php
update.php
2015-01-04 19:32:08 +01:00
Michael Vogel
11c82816b3
Poco now returns the last update date as well. This date will be stored in the gcontact table.
2015-01-04 19:19:47 +01:00
Michael Vogel
cce561708a
Replaced $argv and $argc with the $_SERVER array
2015-01-04 13:24:16 +01:00
Michael Vogel
a86c143e24
The "scrape" bugfix lead to partly damaged encodings. This is fixed now.
2015-01-04 11:56:41 +01:00
Michael Vogel
5379e07c4e
Setting default values for all database fields.
2014-11-09 13:29:27 +01:00
Michael Vogel
691aa17025
fetch further information: it is now possible to define a blacklist for keywords for "fetch further information"
2014-10-30 00:24:23 +01:00
fabrixxm
6db73c0b6d
fix update routine to support update from 3.2
...
disable PDO support
2014-09-07 17:28:38 +02:00
fabrixxm
a8c90155f8
db update mail via notification()
...
remove last template
2014-09-07 14:23:03 +02:00
Michael Vogel
e21bcb82d2
Enhance the database structure checks when they failed.
2014-09-04 09:26:56 +02:00
Michael Vogel
24b3befc4d
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
boot.php
update.php
2014-09-04 02:29:12 +02:00
Michael Vogel
7eeb320085
It is now possible to ignore threads.
2014-09-04 00:58:52 +02:00
friendica
910293729c
Merge https://github.com/friendica/friendica into pull
2014-09-02 01:09:23 -07:00
friendica
3e0a84afa9
so this is why my db updates were reverted ;-)
2014-09-02 01:08:50 -07:00
Michael Vogel
150310ea3a
dbstructure: Delete indexes before the database structure is changed
2014-09-01 23:41:21 +02:00
Michael Vogel
79f7f609b3
dbstructure: the indexes for longer table fields are now shortened
2014-06-23 01:27:00 +02:00
Michael Vogel
e6328104ea
dbstructure: New tables wasn't created due to some bugs
2014-06-15 10:47:20 +02:00
Michael Vogel
0c77cee667
New database update system that uses the database structure defined in dbstructure.php
2014-06-04 00:44:58 +02:00
Michael Vogel
941c049933
The file "dbstructure.php" was corrupted. This is the right one.
2014-04-29 13:19:44 +02:00
Michael Vogel
66996a2fa3
The file dba.php was missing in the last commit :) Additionally there are some chamges to the update script.
2014-04-29 12:35:24 +02:00
Michael Vogel
405dd794fe
New database system that uses PDO if present/Test script for doing database upgrades.
2014-04-28 23:55:47 +02:00