Commit Graph

231 Commits

Author SHA1 Message Date
Roeland Jago Douma 6c77d1734e [Share 2.0] Update db structure to stay backwards compatible 2016-01-06 14:53:43 +01:00
Lukas Reschke 002e719789 Set "SetEnv" within base `.htaccess` file
mod_rewrite as used by the front controller may require a `RewriteBase` in case the installation is done using an alias. Since we cannot enforce a writable `.htaccess` file this will move the `front_controller_active` environment variable into the main .htaccess file. If administrators decide to have this one not writable they can still enable this feature by setting the `front_controller_active` environment variable within the Apache config.
2015-12-01 19:06:48 +01:00
Joas Schilling 3c5a6b829e Allow DI the system tag stuff without Application class 2015-11-30 17:08:29 +01:00
Roeland Jago Douma 5e8256beb8 [Sharing 2.0] Add a new db column for the file owner
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.
2015-11-25 13:17:02 +01:00
Morris Jobke 3778680f3f Drop unused tables principalgroups and principals
* was removed in 3e84f170e7
2015-11-05 08:40:21 +01:00
Lukas Reschke 8f09d5b67c Update license headers 2015-10-26 14:04:01 +01:00
Morris Jobke ee42e9d489 increase core version and add dav version number 2015-10-21 11:36:44 +02:00
Joas Schilling 6ca58cd856 Master is now 9.0.0 development 2015-10-14 07:40:06 +02:00
C Montero-Luque 58b8571454 8.2 RC1 2015-10-06 13:17:12 -04:00
Morris Jobke b945d71384 update licence headers via script 2015-10-05 21:15:52 +02:00
Roeland Jago Douma c80dd82fe4 Added mimetype repair step
* Version number increased
2015-10-02 16:06:56 +02:00
Morris Jobke cc0812332c add more precise version to also repair git master instances 2015-10-01 08:27:12 +02:00
C Montero-Luque 9d1885a535 8.2 beta1 2015-09-18 14:01:46 -04:00
Vincent Petry 180ad9e7df Make version.php PHP 5.3 compatible for the build scripts 2015-09-17 15:50:37 +02:00
Robin McCorkell 5ca690e2f8 Use integer for availability instead of bool 2015-09-15 10:18:32 +02:00
Vincent Petry 2b08659f7d Restrict upgrades to explicit allowed version
version.php now contains the previous ownCloud version from which
upgrades are allowed. Any other upgrades will show a message that the
upgrade/downgrade is not supported.
2015-08-30 18:04:18 +02:00
Robin McCorkell fa8b1074e8 Bump version patch number, fixes #18129 2015-08-11 14:43:32 +01:00
Joas Schilling 20cf8ec205 Add an update script to reset the value
In case encryption was not enabled, we accidently set encrypted = 1 for
files inside mount points, since 8.1.0. This breaks opening the files in
8.1.1 because we fixed the code that checks if a file is encrypted.
In order to fix the file, we need to reset the flag of the file. However,
the flag might be set because the file is in fact encrypted because it was
uploaded at a time where encryption was enabled.

So we can only do this when:
- Current version of ownCloud before the update is 8.1.0 or 8.2.0.(0-2)
- Encryption is disabled
- files_encryption is not known in the app config

If the first two are not the case, we are save. However, if files_encryption
values exist in the config, we might have a false negative here.
Now if there is no file with unencrypted size greater 0, that means there are
no files that are still encrypted with "files_encryption" encryption. So we
can also safely reset the flag here.

If this is not the case, we go with "better save then sorry" and don't change
the flag but write a message to the ownCloud log file.
2015-07-24 10:37:39 +02:00
Morris Jobke ff5bd9d918 Remove index on file_target of share table
* 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
2015-07-14 13:26:51 +02:00
Morris Jobke 4a37d565bd Add indexes to speedup DB queries
* file_target is often used in the sharing code in JOIN statements for retrieval of shares
2015-07-08 18:04:10 +02:00
Frank Karlitschek 2eb9936d77 This will be 8.2 in the future 2015-07-01 10:06:26 -04:00
C Montero-Luque e7a30e091d 8.1 RC2 2015-06-30 19:43:05 -04:00
Morris Jobke f63915d0c8 update license headers and authors 2015-06-25 14:13:49 +02:00
Frank Karlitschek d5ef1f28ce 8.1 RC1 2015-06-17 13:15:33 -04:00
Frank Karlitschek 3abc6e6c44 8.1 beta 2 2015-05-17 14:25:56 -04:00
Frank Karlitschek e9de60f971 8.1.0 beta 1 2015-05-07 18:55:00 -04:00
Frank Karlitschek 55b2570f64 8.1 alpha 3 2015-05-03 19:04:41 -04:00
Frank Karlitschek 59161774e4 8.1.0 alpha 2 2015-04-15 23:55:25 +02:00
Frank Karlitschek f50798a674 8.1 alpha 1 2015-04-15 22:16:26 +02:00
Morris Jobke 70e64822b9 Merge pull request #14665 from owncloud/fileid-increment
SQLite autoincrement test
2015-03-26 19:36:18 +01:00
Jenkins for ownCloud b585d87d9d Update license headers 2015-03-26 11:44:36 +01:00
Robin Appelman fc0c4990d5 triger db upgrade to set autoincrement for sqlite 2015-03-25 18:33:21 +01:00
Frank Karlitschek 95e3c56d2a This is not 8.1 pre alpha 2015-02-28 00:26:31 +01:00
Thomas Müller f72f9e0159 Merge pull request #14530 from owncloud/revert-14403
Revert "Updating license headers"
2015-02-27 00:39:29 -08:00
Morris Jobke 06aef4e8b1 Revert "Updating license headers"
This reverts commit 6a1a4880f0.
2015-02-26 11:37:37 +01:00
Robin Appelman 6fc0eb0236 expand cron argument column to 2048 2015-02-25 15:08:40 +01:00
Jenkins for ownCloud 6a1a4880f0 Updating license headers 2015-02-23 12:13:59 +01:00
Joas Schilling 113fd47a0b Update version to a higher one then before 2015-02-13 15:24:53 +01:00
Joas Schilling 6039523cd6 Revert "Incorporate review changes"
This reverts commit f6a452cabf.
2015-02-13 15:15:10 +01:00
Lukas Reschke f6a452cabf Incorporate review changes 2015-02-12 19:14:54 +01:00
Frank Karlitschek df2808eec8 8.0 final 2015-02-06 08:08:29 +01:00
Frank Karlitschek defe41ee4e 8.0.0 RC2 2015-02-04 23:27:52 +01:00
Frank Karlitschek 6da204bcf8 8.0.0 RC1 2015-01-28 06:20:10 +01:00
Frank Karlitschek 0f3f20d134 8.0 beta 2 2015-01-26 04:41:37 +01:00
Frank Karlitschek ca442dfc97 increase version. This time for real 2015-01-18 15:28:48 +01:00
Frank Karlitschek 8285744e4a 8.0.0 beta 2 2015-01-18 14:44:28 +01:00
Frank Karlitschek f3c43f0a81 8.0.0 alpha 2 2015-01-11 04:37:15 +01:00
Frank Karlitschek ac6c7845f0 8.0 alpha 1 2015-01-01 23:07:16 +01:00
Frank Karlitschek c16cb74ba2 jump to 8.0.0.0 The test upgrade and installation of apps realistic.
Don´t open the champaign yet. This is obviously not the final release. ;-)
The final will have the version number 8.0.0.x
2014-12-30 22:02:41 +01:00
Frank Karlitschek 3dea2b95c6 Automatically detect the edition based on the enterprise_key app. 2014-12-25 09:48:15 +01:00
Lukas Reschke dbbdcff862 Increment version 2014-09-03 14:21:35 +02:00
Morris Jobke 694bcc6813 Revert "fix version number - @karlitschek ;)"
This reverts commit f1b3e03f7f.
2014-07-06 23:52:32 +02:00
Morris Jobke f1b3e03f7f fix version number - @karlitschek ;) 2014-07-04 07:50:18 +02:00
Frank Karlitschek 2e15c64825 master if 8.0 pre alpha now 2014-07-03 18:30:49 -04:00
Morris Jobke 2b8745842b trigger db update 2014-06-28 11:18:58 +02:00
Frank Karlitschek 63a50bb3f7 7.0 beta 1 2014-06-25 19:01:52 -04:00
Frank Karlitschek e30dac9afb 7.0.0 alpha 2 2014-06-21 18:52:47 -04:00
Frank Karlitschek 7742791bc2 increase to 7.0 alpha 1 2014-06-11 10:54:45 +02:00
Thomas Müller da3974bcb2 - drop permissions table and related code
- 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
2014-06-05 08:22:01 +02:00
Thomas Müller a2e4bc8d33 # This is a combination of 2 commits.
# 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
2014-05-28 15:30:44 +02:00
Lukas Reschke e88731a477 Some more PHPDoc fixes 2014-04-21 15:44:54 +02:00
Vincent Petry 082c4cda50 Increase version to trigger upgrade related to .ocdata 2014-03-17 17:58:19 +01:00
Robin Appelman 47245e7417 Add index on oc_appconfig for appid 2013-12-18 15:13:27 +01:00
Frank Karlitschek 125dff8997 master is ownCloud 7 pre alpha now 2013-12-05 10:35:19 +01:00
Frank Karlitschek c2e83e635d ownCloud 6 RC2 2013-12-02 00:10:28 +01:00
Frank Karlitschek f361036cf8 ownCloud 6 RC1 2013-11-28 13:00:02 +01:00
Frank Karlitschek c2ccf4a6b3 beta 5 is here 2013-11-20 19:30:30 +01:00
Frank Karlitschek 16dce51917 increase version number to trigger a DB migration to get more testers for the new indexes. 2013-11-15 10:30:04 +01:00
Frank Karlitschek cd4a816c11 beta 4 2013-11-13 19:42:52 +01:00
Frank Karlitschek b9aec16037 ownCloud 6 beta 3 2013-11-06 23:07:26 +01:00
Frank Karlitschek edafd29630 increase version number to trigger db migration 2013-10-30 19:38:17 +01:00
Lukas Reschke de57e36b6b Fix typo
Whooah! - I'm even committing this total important change without peer review ;-)
2013-10-29 22:11:49 +01:00
Frank Karlitschek c3b48c69db beta 2 2013-10-28 19:05:31 +01:00
Frank Karlitschek c7621badf3 beta 1 2013-10-23 18:14:07 +02:00
Frank Karlitschek d9972fae62 6.0 alpha 2 2013-10-16 10:51:44 +02:00
Frank Karlitschek 7cf81f2d12 show the channel. Also mark git as git channel so that someone can see where this build comes from 2013-10-13 21:51:47 +02:00
Frank Karlitschek 45510f2fe0 6.0 alpha 1 2013-10-09 13:54:41 +02:00
Bjoern Schiessle fd34c969d2 increase version number to trigger db update 2013-10-04 17:41:23 +02:00
Frank Karlitschek 6cda88b49d add explanation 2013-10-01 14:28:59 +02:00
Frank Karlitschek bf0f3bf0da use a 4 digit number 2013-10-01 12:37:19 +02:00
Frank Karlitschek 2cf26ee0b1 put the current version and edition into a seperate file to simplify packaging. introduce update channels and build version for automated channel updates. More about that later
Conflicts:
	lib/ocsclient.php
	lib/util.php
2013-09-30 20:19:26 +02:00