summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Revert "add share index"Thomas Müller2014-07-171-12/+0
| | | | This reverts commit e19b3a8794a2cadc86b0f3b01a516814b600026b.
* shorten userid columns to 64 chars, ref #9186Jörn Friedrich Dreyer2014-06-271-2/+2
|
* - drop permissions table and related codeThomas Müller2014-06-051-53/+10
| | | | | | - the file/folder's permission is now stored in the file cache - BackGroundWatcher has been removed - this has meanwhile be replaced by occ files:scan which can be executed in a cron jobs - increase version to trigger database migration
* Merge pull request #8806 from owncloud/add_share_indexMorris Jobke2014-06-021-0/+12
|\ | | | | add share index
| * add share indexFrank Karlitschek2014-05-311-0/+12
| |
* | add another index to the filecache to reduce the number of queries without a ↵Frank Karlitschek2014-05-311-0/+15
|/ | | | matching index
* # This is a combination of 2 commits.Thomas Müller2014-05-281-1/+1
| | | | | | | | | | | | | # The first commit's message is: adding tests for long paths increment path field in database up to 4000 (maximum for Oracle - otherwise we could use php's 4096) increment version to trigger database migration adding unit test for too long path # This is the 2nd commit message: fix too long path