256 Commits

Author SHA1 Message Date
Daniel Munn
875892495a Fixed unused test to use our modifed test framework 2012-06-29 09:44:55 +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
6a9fa3236f Fix: Webdav sometimes called without scope or type is actually a lock extension
Fix: Controller did not properly search lock attributes because of gem bug
2012-06-27 16:19:49 +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
f120b04b30 Webdav updated to support folder locking (shared locking not yet implemented) 2012-06-27 07:51:46 +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
77a4d7f9e1 1.4.3 Stable 2012-06-26 08:01:28 +01:00
Daniel Munn
5de3bd7720 Included unit test for file structure change 2012-06-26 08:00:02 +01:00
Daniel Munn
358d3282b6 Related to issue #13 - documenation update 2012-06-24 01:07:06 +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
bf215f4e4f 1.4.2 stable 2012-06-21 13:35:46 +01:00
Daniel Munn
168e6def95 Documentation update 2012-06-21 13:27:18 +01:00
Daniel Munn
3656bcecb0 Issue #1 asks for screeners and features list, feature list included 2012-06-21 13:10:52 +01:00
Daniel Munn
4b83ef672c DELETE method testing 2012-06-21 08:50:11 +01:00
Daniel Munn
1b21987b58 PUT test cleanup 2012-06-20 15:33:42 +01:00
Daniel Munn
ccfa81340a PUT testing 2012-06-20 15:32:04 +01:00
Daniel Munn
a5c72bb997 HEAD method testing 2012-06-20 12:29:28 +01:00
Daniel Munn
5e8e61f80f OPTIONS testing + relevent fixes 2012-06-20 09:51:51 +01:00
Daniel Munn
cfff45535a Switch to Markdown 2012-06-20 08:48:53 +01:00
Daniel Munn
4d17cd4646 EOD commit, working on issue #7 2012-06-18 23:16:25 +01:00
Daniel Munn
d6ee91342a Updating code to fix issues related to #5 2012-06-18 23:12:34 +01:00
Daniel Munn
bad46400c7 Test-suite functionality 2012-06-18 11:36:51 +01:00
Daniel Munn
6f7a4f2e4a Fixes #5 : Projects and subsequent DMSF children are now not permitted access to where the project does not have DMSF module enabled. 2012-06-18 11:18:56 +01:00
Daniel Munn
c639e25f10 Fix: init.rb default plugin values expected webdav to be string, integer given
Change: fixture dmsf_folder updated with schema changes
2012-06-18 09:19:13 +01:00
Daniel Munn
ff704adde5 Update master 2012-06-15 22:03:05 +02:00
Daniel Munn
2f8e943bac 1.4.1 Stable 2012-06-15 20:28:50 +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
39947104fe Preparing for 1.4.1 2012-06-15 12:03:48 +01:00
Daniel Munn
493fac024e Preparing for 1.4.1 2012-06-15 08:09:59 +01:00
Daniel Munn
c76556c507 Parse fix applied for webdav PUT method, where .Net / Office over WebDav pushes content with text/xml mime type. Rails stack automatically will try to parse XML, however unfortunately as content is
not XML, it ends up failing. "init.rb" has a hook adding RedmineDmsf::NoParse into Rails middleware a step before content parsing occurs, and will rewrite content type on put method, within specified
target area (identified in init.rb). Controller has been added to override options function (maybe removed later on).
2012-06-14 22:35:02 +01:00
Daniel Munn
3bd5d93479 MS Webdav Client authentication problem 2012-06-14 09:33:28 +01:00
Daniel Munn
4e044384ce parent should not always cast same case (in case of folder switching to project list or similar)
instead now calls via proxy and returns the resulting resource from that

Note: Gemfile (althought changed previous commit) contains a github tag, which can cause some installation problems
  - may integrate into plugin (not elegant, but fixes issue), as dev plugin passes aspects of litmus that release doesn't

Todo: Integrate permission model into functionality
2012-06-14 09:23:58 +01:00
Daniel Munn
9ae871be66 Introduce PUT method - file adding supported, work needed for better integration
with windows Webdav
2012-06-13 23:59:06 +01:00
Daniel Munn
34611df3fd File locking seemingly working (untested) 2012-06-13 15:15:45 +01:00
Daniel Munn
df15cf2d5d Implementation of COPY 2012-06-13 13:41:14 +01:00
Daniel Munn
271fdab66e Code cleanup, added comments into some files so that 3rd parties can establish behaviour (or intended).
Introduced parent directory into GET based directory listing via webdav
2012-06-13 12:07:32 +01:00
Daniel Munn
c8441bc4bb File move (within) project now supported; overwrite on both folder and file is still unspported at this time 2012-06-13 09:21:09 +01:00
Daniel Munn
24c2646d8e Functionality for MOVE (incomplete)
Todo: Determine best approach for cross-project moves
Determine best approach for merging resource in case of overwrite
Start file move functionality (Collection works)
2012-06-12 17:20:54 +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
81ed1ce712 MKCOL correctly responded to, creates folders within DMSF (as expected) 2012-06-11 21:40:32 +01:00