164 Commits

Author SHA1 Message Date
Daniel Munn
74deb1e2c6 Fix attempt 2 for issue #50 - this any better? 2012-09-24 12:47:19 +01:00
Daniel Munn
df30c7fea1 Relates to #50 should fix issue (awaiting user confirmation) 2012-09-24 11:08:53 +01:00
Daniel Munn
c253c04bfc Update app/controllers/dmsf_upload_controller.rb
Updated to correct file unlock; although functionality for permissions needs to be moved from model however.
2012-08-28 10:00:17 +02:00
Daniel Munn
4870bf004a Fixes #34 files last revision called under "visible" scope which fails due to file already being deleted. <file>.revisions.first is returned instead of <file>.revisions.visible.first in the case where file is delted. 2012-07-11 18:43:44 +02:00
Daniel Munn
dfc2834a68 Object does not need to be reloaded at this point 2012-07-17 12:18:46 +01:00
Daniel Munn
70bfdb2a9b Fixes #24 - MySQL returns Mysql::Time object on dynamic column, this is incompatible with ruby's Time object - instead check is made via class name (again not the best method of reflection, however in the case of a MySQL missing environment it'd break due to module/class not being found)
Updated two scopes to no longer be read-only (default stance is to make joins read only), however this breaks intended purpose
2012-07-17 12:16:09 +01:00
Daniel Munn
96084390fd Fixes #24 Dynamic columns are forced into timestamp with zone the same as ActiveRecord, views have been updated to use format_date which converts time to local timezone based on preferences. 2012-07-12 11:28:07 +01:00
Daniel Munn
712a7b3c86 Merge branch 'devel-1.4.5' of https://github.com/danmunn/redmine_dmsf into devel-1.4.5 2012-07-11 10:08:59 +02:00
Daniel Munn
04064a9c98 Webdav R/RW functionality introduced 2012-07-11 15:23:32 +01:00
Daniel Munn
6c325ff7c1 Fixes #27 incorrect call to to_s causes execution error. 2012-07-11 10:07:12 +02:00
Daniel Munn
5dee0c03e2 Issue #21 unable to access webdav when a subfolder
Resolution comes with using path_info in request - to be tested
2012-07-05 13:00:58 +01:00
root
1f9e136934 Cleanup for push to stable 2012-07-05 07:52:02 +01:00
root
f6350d3859 Fixes #20 - SQL incompatibility with SQLite 2012-07-05 07:48:43 +01:00
Daniel Munn
c32881c7f5 Fixes #16 - incomplete check meant functionality designed for "copy" was bleeding into creation form too 2012-06-29 10:06:15 +01:00
Daniel Munn
a8cf03a958 Updating models to contain table name (prevents ambiguous queries) 2012-06-29 09:11:04 +01:00
Daniel Munn
b8716a5cc2 Multiple fixes: upload not rendered for DMSF root; dmsf_lock is now storing uuid for lock; db upgrade / downgrade script updated for support 2012-06-29 08:26:43 +01:00
Daniel Munn
6237e09581 New: Support for lockdiscover and supported lock PROPFIND requests
Update: file_revision visible scope now is joined with parent item and checked for both revision and file visibility
New: Projects now store into their own folder within configured path
Fix: db upgrade script does a one-time re-sort of existing physical data to ensure it can be read in new world
Fix: webdav controller (from Gem) did not flag output as utf-8 with correct header, overloaded in dmsf controller instance to fix
Update: Testsuites updated to support a few more conditions for lock processing
2012-06-28 14:29:13 +01:00
Daniel Munn
e3831b409f Fix: errors.add_to_base is not Rails3 compliant - changed with errors[:base] <<
Update: UI updates to better notify of locked status
2012-06-27 12:56:41 +01:00
Daniel Munn
86bc901965 Fix: due to a bad if in Lockable::lock did not traverse the heirarchy as expected 2012-06-27 11:41:03 +01:00
Daniel Munn
c9d6c32ba4 Implementing folder locking (Issue #14) 2012-06-27 11:09:38 +01:00
Daniel Munn
e1fdc030e6 Issue #14, implementation of lock! and unlock! methods
Correcting test-cases with corrected lock check (should have been asserting !locked?, not locked? in case of unlock check)
2012-06-27 07:30:45 +01:00
Daniel Munn
7d8b941e4a Starting lock system overhaul in line with #14 - designed new approach will allow for folder locking, and shared locking - todo: rewrite lock! and
unlock! methods in lib/redmine_dmsf/lockable.rb
2012-06-26 15:21:26 +01:00
Daniel Munn
43e3a1dc81 Fix UI error preventing revision management 2012-06-22 14:18:18 +01:00
Daniel Munn
6c8d3c1128 Updated files inline with changes in #12 2012-06-22 13:38:21 +01:00
Daniel Munn
a445de4cc8 Updates around #12 2012-06-22 12:32:16 +01:00
Daniel Munn
82e53e7fdf Copy DMSF functionality expansion
Data linkup (with dependency destruction)
2012-06-22 09:26:45 +01:00
Daniel Munn
d6ee91342a Updating code to fix issues related to #5 2012-06-18 23:12:34 +01:00
Daniel Munn
58cbb160bd Preparing for 1.4.1
Preparing changes for 1.4.1 release into master (with Webdav)
2012-06-15 20:25:18 +01:00
Daniel Munn
e223b22a6c Settings to turn webdav on/off (or eqivilent) 2012-06-15 12:50:41 +01:00
Daniel Munn
1e3e644da0 Merge commit '36fa608cc1a8096147b7b21bd597769facc7a202' into webdav 2012-06-12 17:19:23 +01:00
Daniel Munn
36fa608cc1 Updated dmsf_file model with Rails3 alternative to merge_conditions. Fixes #2 2012-06-12 16:53:04 +01:00
Daniel Munn
2e431568d6 Pass 1 of webdav (VERY ROUGH) - Functional on Get/Head (Web based listing) and also webdav listing and downloading of resources.
User based authentication and tracking of downloads, however security model not implemented yet.
2012-06-11 11:31:45 +01:00
Daniel Munn
8828594698 Fix upload to deal with failed uploads more gracefully. 2012-06-07 14:33:41 +01:00
Daniel Munn
2fef0c06af Fix bug with Firefox after-processing with plupload 2012-06-07 12:30:05 +01:00
Daniel Munn
4d29097c0e Update plupload; correct incorrect setTimeout call 2012-06-07 12:19:04 +01:00
Daniel Munn
57a15b3093 Prevent folder / 0 size files from being uploaded. 2012-06-07 11:18:49 +01:00
Daniel Munn
8e1a35166d Version 1.4.0 [cleanup outstanding, and more coverage testing required] 2012-06-04 02:25:24 +01:00
Daniel Munn
ae73ed64cd Actual changes... 2012-06-03 18:03:14 +01:00
Daniel Munn
835d02aedf Additional controller updates; patched mailer for Rails 3; included override for ActionMailer so we can add path for plugin to view paths 2012-06-03 18:00:14 +01:00
Daniel Munn
eb457323ef Redmine 2.0 compatibility (EOD commit) - not fully functional however starting to resemble working plugin
Todo: Mailcontroller
Todo: Rest of routing
2012-06-03 15:33:28 +01:00
Daniel Munn
021440fa78 mend 2012-06-03 12:41:48 +01:00
Daniel Munn
6c09656467 Updating routes to integrate with projects (more appropriately), dmsf_state and settings html updated 2012-06-03 12:37:50 +01:00
Daniel Munn
5de5804f0d First pass of Redmine 2.0 compatibility (NOT WORKING) 2012-06-03 11:22:58 +01:00
mavimo@gmail.com
d2cb53a027 * worinkg on Issue #19: DMSF document and folder can have custom fields
git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@280 5e329b0b-a2ee-ea63-e329-299493fc886d
2012-03-31 17:56:49 +00:00
vit.jonas@gmail.com
3070bca8b6 * solved Issue 177: 500 internal error when using copy/move button
git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@271 5e329b0b-a2ee-ea63-e329-299493fc886d
2011-11-03 08:16:16 +00:00
vit.jonas@gmail.com
fe8e362b2c * done Issue 167: Feature Patch: Maximum filesize for email downloads
git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@267 5e329b0b-a2ee-ea63-e329-299493fc886d
2011-10-29 14:53:10 +00:00
vit.jonas@gmail.com
b2e4cc199f * fixed Issue 171: No route matches "/plugin_assets/redmine_dmsf/javascripts/plupload/plupload.gears.js"
git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@265 5e329b0b-a2ee-ea63-e329-299493fc886d
2011-10-19 08:58:46 +00:00
vit.jonas@gmail.com
02c6eb5a36 * fixed Issue 168: MySQL Error in serarching within dmsf files.
git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@260 5e329b0b-a2ee-ea63-e329-299493fc886d
2011-10-13 20:17:16 +00:00
vit.jonas@gmail.com
2b2101e903 * done Issue 142: Copy Folder option
git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@255 5e329b0b-a2ee-ea63-e329-299493fc886d
2011-10-11 09:35:20 +00:00
vit.jonas@gmail.com
5016dbde2d * work on Issue 142: Copy Folder option
git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@252 5e329b0b-a2ee-ea63-e329-299493fc886d
2011-10-10 12:06:12 +00:00