summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
Commit message (Collapse)AuthorAgeFilesLines
* add new password column to the share table in order to set passwords for ↵Bjoern Schiessle2017-04-031-0/+7
| | | | | | share by mails Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* introduce accounts table and keep it up-to-date with the data added to the ↵Björn Schießle2016-11-211-0/+32
| | | | | | personal settings Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* read lockdown scope from tokenRobin Appelman2016-11-161-0/+7
| | | | Signed-off-by: Robin Appelman <icewind@owncloud.com>
* bring back remember-meChristoph Wurst2016-11-021-0/+9
| | | | | | | | | | * try to reuse the old session token for remember me login * decrypt/encrypt token password and set the session id accordingly * create remember-me cookies only if checkbox is checked and 2fa solved * adjust db token cleanup to store remembered tokens longer * adjust unit tests Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* final db indexesArthur Schiwon2016-08-161-2/+29
|
* fix duplicated db index nameArthur Schiwon2016-08-091-1/+1
|
* Initial work on Apps page split:Arthur Schiwon2016-08-091-0/+94
| | | | | | * interfaces for the Admin settings (IAdmin) and section (ISection) * SettingsManager service * example setup with LDAP app
* Implement brute force protectionLukas Reschke2016-07-201-0/+78
| | | | | | | | | Class Throttler implements the bruteforce protection for security actions in Nextcloud. It is working by logging invalid login attempts to the database and slowing down all login attempts from the same subnet. The max delay is 30 seconds and the starting delay are 200 milliseconds. (after the first failed login)
* Save the files external mount id in the mount cache tableRobin Appelman2016-07-131-0/+14
|
* store last check timestamp in token instead of sessionChristoph Wurst2016-06-171-0/+9
|
* Create session tokens for apache auth usersChristoph Wurst2016-05-311-2/+1
|
* when generating browser/device token, save the login name for later password ↵Christoph Wurst2016-05-241-0/+8
| | | | checks
* Merge pull request #24696 from owncloud/lock-jobs-while-executingVincent Petry2016-05-211-0/+17
|\ | | | | Lock jobs while executing them, to allow multiple executors to run in…
| * Lock jobs while executing them, to allow multiple executors to run in parallelJoas Schilling2016-05-211-0/+17
| |
* | Add systemtag_group table and get/set methodsVincent Petry2016-05-201-0/+43
|/ | | | | Added systemtag to group mapping table. Added methods in ISystemTagManager to get/set the group mappings.
* Use CLOB for auth token names to allow long user agent stringsChristoph Wurst2016-05-121-2/+1
|
* increase token column widthChristoph Wurst2016-05-111-1/+1
| | | | add some range to time() assertions
* Add index on 'last_activity'Christoph Wurst2016-05-111-0/+17
| | | | | | add token type column and delete only temporary tokens in the background job debounce token updates; fix wrong class import
* Check if session token is valid and log user out if the check failsChristoph Wurst2016-05-111-2/+2
| | | | | * Update last_activity timestamp of the session token * Check user backend credentials once in 5 minutes
* invalidate (delete) session token on logoutChristoph Wurst2016-05-111-0/+9
| | | | add 'last_activity' column to session tokens and delete old ones via a background job
* token based authChristoph Wurst2016-05-111-0/+60
| | | | | | | | * Add InvalidTokenException * add DefaultTokenMapper and use it to check if a auth token exists * create new token for the browser session if none exists hash stored token; save user agent * encrypt login password when creating the token
* exchange user_id_key for a unique one.Arthur Schiwon2016-02-261-7/+13
|
* add index definitions for comments tablesArthur Schiwon2016-02-241-10/+41
|
* Make sure we can store strings as per the interfaceJoas Schilling2016-02-221-4/+3
|
* Add store/retrieve checksumsRoeland Jago Douma2016-02-031-0/+8
| | | | | | | * Add extra db column to filecache * Bump version * Update filecache code to actually handle checksum * Webdav code to store/retrieve checksums
* introduce comments read marke tables, comes with user cleanup after deletionArthur Schiwon2016-01-291-0/+43
|
* Merge pull request #18531 from owncloud/ext-user-credentialsThomas Müller2016-01-221-0/+55
|\ | | | | External storage 'Login credentials' auth mechanism
| * Introduce CredentialsManager for storage of credentials in DBRobin McCorkell2016-01-181-0/+55
| | | | | | | | | | | | | | | | | | | | | | CredentialsManager performs a simple role, of storing and retrieving encrypted credentials from the database. Credentials are stored by user ID (which may be null) and credentials identifier. Credentials themselves may be of any type that can be JSON encoded. The rationale behind this is to avoid further (mis)use of oc_preferences, which was being used for all manner of data not related to user preferences.
* | cache mountpoints in the dbRobin Appelman2016-01-201-0/+87
|/
* [Share 2.0] Update db structure to stay backwards compatibleRoeland Jago Douma2016-01-061-6/+6
|
* Merge pull request #20650 from owncloud/systemtags-coreThomas Müller2015-11-301-0/+124
|\ | | | | Implement systemtag managers and mapper
| * Added system tags data structure and PHP side managersVincent Petry2015-11-271-0/+124
| | | | | | | | Added SystemTagManager and SystemTagObjectMapper
* | [Sharing 2.0] Add a new db column for the file ownerRoeland Jago Douma2015-11-251-0/+14
| | | | | | | | | | | | | | We need to store the owner of a file in the db to do efficient queries on the owner of a file. Without this we need to construct fill paths for each file id in the table and see who the owner of a file is. Which does not scale.
* | DB scheme for Comments table, resolves #20265Arthur Schiwon2015-11-201-0/+151
|/
* Drop unused table file_mapMorris Jobke2015-11-051-61/+0
| | | | | | | * used only for windows support * windows support was dropped in 8.2.0 - see #17379 * was introduced in fd8cb9974be30aaca0d65d1807d6a4f784da5f0b * ref #18935
* Use integer for availability instead of boolRobin McCorkell2015-09-151-2/+2
|
* Merge pull request #17662 from owncloud/locking-dbThomas Müller2015-08-261-0/+73
|\ | | | | Database backend for locking
| * rename path field to keyRobin Appelman2015-08-031-4/+5
| |
| * Fix db schemaRobin Appelman2015-08-031-1/+34
| |
| * Add database backend for high level lockingRobin Appelman2015-08-031-0/+39
| |
* | Store storage availability in databaseRobin McCorkell2015-07-201-0/+12
|/ | | | | | | | Storage status is saved in the database. Failed storages are rechecked every 10 minutes, while working storages are rechecked every request. Using the files_external app will recheck all external storages when the settings page is viewed, or whenever an external storage is saved.
* Remove index on file_target of share tableMorris Jobke2015-07-141-7/+0
| | | | | | * causes issues on InnoDB because it exceeds the maximal key length of an index which is 767 (3-byte charset * varchar(512) = 1536) * fixes #17619
* Add indexes to speedup DB queriesMorris Jobke2015-07-081-0/+15
| | | | * file_target is often used in the sharing code in JOIN statements for retrieval of shares
* we no longer support webdav locks - no need to keep the columnThomas Müller2015-03-121-83/+0
|
* set max argument length to 4000Robin Appelman2015-02-251-1/+1
|
* expand cron argument column to 2048Robin Appelman2015-02-251-1/+1
|
* Revert "Improve: Index for file_map"Joas Schilling2015-02-131-18/+0
| | | | This reverts commit c9b56084051ad33f15ad8a1a7fee95d38ba0d954.
* Revert "Incorporate review changes"Joas Schilling2015-02-131-0/+2
| | | | This reverts commit f6a452cabf02e4a8005f874a77754f68abbc8fa5.
* Incorporate review changesLukas Reschke2015-02-121-2/+0
|
* Improve: Index for file_mapwindaishi2015-02-121-0/+18
| | | | Added two indices for file_map, that improve syncing and uploading and deleting files