Commit Graph

336 Commits

Author SHA1 Message Date
Kevin Roast
a89f975503 . Delete Website implemented
- removes staging store, preview stores and associated user stores before removing the website node itself
. Content Reviewer permissions definition fix
. Useful summary page info added to Create Website wizard

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-04 15:53:28 +00:00
Kevin Roast
7116697960 . Delete Website implemented
- removes staging store, preview stores and associated user stores before removing the website node itself
. Content Reviewer permissions definition fix
. Useful summary page info added to Create Website wizard

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4019 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-04 15:53:17 +00:00
Kevin Roast
82e76ede01 Bug fixes to rename action for non-AVM objects
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4016 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-04 10:20:43 +00:00
Ariel Backenroth
76fa148539 - removing templating config file
- renamed create xml content type to create form
- writing xsds and xsls into the data dictionary
- using search to implement TemplatingService.getTempalteTypes()
- adding fields to create form screen for the root tag name to use within the schema and for a display name within the dropdown (friendly non file name name)
- using aspects from the wcmModel to categorize and relate templates and templateoutputmethods 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4014 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-04 05:04:35 +00:00
Ariel Backenroth
cea94661de putting a sanity check xsd and xsl that require absolutely no interaction.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4010 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-03 17:22:11 +00:00
Kevin Roast
1308eaeacc . Added new default DNS domain for web-client-config as per instructions from Jon
. Added additional setup logging to actions that deal with content

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-03 16:34:01 +00:00
Kevin Roast
2d261f31f7 . Implemented 'rename' for AVM files/folders
- this has highlighted some interesting future issues with AVM NodeRef objects - as unlike the usual noderefs, they can change due to a rename or move!
. Fixed issue with navigating back to details and browse screens after a delete file/folder operation

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4004 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-03 11:49:37 +00:00
Kevin Roast
1c6e3a68f0 Removed "on demand" addition of TITLED and UIFACETS aspects to files and folders during display of details dialog (now that import speed is "acceptable"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4001 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-03 07:58:08 +00:00
Ariel Backenroth
5483afc279 handling list compontent type (xforms:select).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4000 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-03 07:37:06 +00:00
Britt Park
1058024930 Checkpoint of WCM workflow package support.
Setting titled and uifacets via AVMService instead of through
AVMNodeService.  1000 file import takes ~5 minutes.  Awful but better 
than before.  


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-02 19:42:56 +00:00
Kevin Roast
443aaf3419 . Removed addition of TITLED and UIFACETS aspects to files and folders during import/create
- now added "on demand" during first display of Details dialog as otherwise performance issues make a website import unfeasible:

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3994 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-02 17:53:54 +00:00
Kevin Roast
0dc8a68d44 . Edit Folder Properties dialog
. Edit file/folder properties now shows name+title+description as expected
. Addition of TITLED and UIFACETS aspects to files and folders during import/create

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3987 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-02 10:14:45 +00:00
Ariel Backenroth
b1e5b3dfac -doing the jsp2.0 with the callout example from the sample website. for one, it seems to help avoid some errors i was seeing earlier with classcastexceptions (no clear understanding of why they were happening, but whatever). and it's a nicer example - the jsp is well formed xml and emits well formed xml. good learning experience for catching up with the latest of the jstl nonsense.
- cleaning up build procedure for the sample website - still not perfect, but better.
- removing default value for company footer for the xsd - i'll revisit how to set default values on dynamic callout types some other time.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3984 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-30 19:54:30 +00:00
Britt Park
a985ba7723 Changed AVMNodeConverter.ToAVMVersionPath() to return a
Pair<Integer, String>.  
Fixed avm.jsp which got busted by last checkin.
Added implementation of AddChild to AVMNodeService.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3983 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-30 17:51:15 +00:00
Kevin Roast
8f6dbe4920 Edit Properties dialog for an AVM File
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3976 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-29 16:11:34 +00:00
Kevin Roast
01b40b303a . Added "Content Forms" folder to the Data Dictionary on bootstrap
. Added the usual helper methods to get assoc name for the new folder

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-29 13:30:28 +00:00
Kevin Roast
1ccb876188 test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3973 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-29 11:32:44 +00:00
Kevin Roast
9c1f0c4c96 - File Details and Folder Details page
- Added missing JSP file from Update File checkin (oops!)
 - Minor UI bug fixes
 - Incorrect permissions set for ContentPublisher role

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3972 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-29 11:21:27 +00:00
Kevin Roast
d23d1eb588 - Update File action implemented for sandox Modified Files list and website browse screens
- Cycle of actions required for upload/edit/update is complete

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3962 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-28 13:56:24 +00:00
Kevin Roast
0f3f56e7d8 - Add Content (upload) action implemented for website browsing screen
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3960 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-28 12:12:00 +00:00
Kevin Roast
842729f1bc - Fix to some issues created after recent changes to preview url generation code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3959 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-28 09:49:59 +00:00
Ariel Backenroth
0f2bf9a3e0 - preliminary support for callouts using xsd:include. rewriting links in the schema now to point at the virtualization server. not the best solution. but i couldn't get LSResourceResolver to work (would have been the elegant solution) since i don't have access to the DOMConfiguration object within chiba - works great in the schemaformbuilder.
- sample implementation of a callout in the alfresco sample website; using a jsp to produce an included xsd that lists all available company_footer.xmls
- moving stuff around.  XFormsbean is now in the xforms package rather than ajax package - more relevant to that codebase.
- consolidating SchemaFormBuilder into one class since the inheritance hierarchy made very little sense. 
- refactored some of the sample website to reduce java code in the jsps and begining to think about a generic utility library for callouts and jsps that want to access templating generated data.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-28 04:06:01 +00:00
Kevin Roast
280cff0999 - Create Folder action dialog added to website browsing screen
- Fix to bug in client AVMNode where it was not correctly dealing with additional avm node properties set using the nodeservice

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3951 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-27 17:12:56 +00:00
Kevin Roast
ccdc66bf16 . WCM UI
- Added initial definition of permissions/roles for ContentManager, ContentPublisher, ContentContributor and ContentReviewer
 - Create Website wizard shows only the rules defined for the avm webfolder type
 - Create Website wizard now creates appropriate child associations for user roles
 - User roles displayed in the website browse screen next to the user names
NOTE: Websites created before this change are NOT backward compatible and will need to be recreated!

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3948 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-27 13:24:00 +00:00
Jon Cox
32e1c7ddc5 Added fixup for windows.
This should really be handled within the avm.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-26 20:47:41 +00:00
Ariel Backenroth
88acdd33fc - fixing issue where comboboxes and lists had a bogus value inside them due to a weird constraint being put on the parent repeat rather than the control's binding.
- also doing some more cleanup and strong typing



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3944 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-26 19:21:45 +00:00
Ariel Backenroth
5fdef3896a some minor cleanup to code in how widgets are loaded.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-26 17:56:03 +00:00
Ariel Backenroth
8b3e6b01a0 fixing an issue where tinymce was wrapping content in p tags - messes with my careful layout in my xsls. removing no longer used dojo imports.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3942 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-26 17:11:00 +00:00
Ariel Backenroth
1acc02ca35 - fixing some links within the sample website
- renaming everything about-blurb to company-footer.
- fixing nit picky presentation issues in the press release xsl



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3940 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-26 17:09:16 +00:00
Ariel Backenroth
d81c4c98b1 fixing some ui problems with the forms. making the contrast between repeated rows somewhat less, and remove highlighting of the selected row - it's not really useful information for the user.
temporary workaround for tinymce sizing issue - and putting some of the buttons back into it.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-26 04:30:35 +00:00
Ariel Backenroth
61de002f9f fixing up links in the sample website. removing the checked in zip. there's now a build target which produces it instead.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3930 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-26 02:05:06 +00:00
Ariel Backenroth
f78c86f32c some fixes and cleanup to the press release xsl
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3929 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-26 01:27:34 +00:00
Ariel Backenroth
ec309693f7 a fully functional index page for press releases which does a dir list within the avm, parses each of the xml assets, and produces pretty much an identical result to the real website.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-26 00:49:50 +00:00
Ariel Backenroth
3dcbd24150 implementing a urlresolver for xsl so that we can include documents properly using the document function.
updates to press release xsds - it's now basically working.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3926 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-25 22:15:14 +00:00
Kevin Roast
1c87282333 . WCM UI
- Added Preview action for individual folders and files to the website browse page
 - Added Preview action for files/folders in the Modified Files list for a user sandbox
   - these changes allow the user to preview any sub-section (folder/weapp) or individual file in the website

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3923 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-25 16:52:53 +00:00
Kevin Roast
1b9ca2ac8b . WCM UI
- Fix to ui issue with generated components IDs when viewing multiple websites (JSF hell!)
 - Added Preview Website action to the website browse page

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3921 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-25 15:14:04 +00:00
Kevin Roast
c9f6f17756 . WCM UI
- Preview Staging area action added
 - Preview User Sandbox action added
   - Generates the virtualisation server URLs to an AVM sandboxes for the - possible to preview the entire website with transparent overlays for each user.
 - Fix to generation of mangled DNS name for a user store to remove the "main" part (implicit)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-25 12:57:19 +00:00
Ariel Backenroth
c10643a388 adding the alfresco website which will be used as the demo for the demo wednesday.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3913 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-25 05:44:37 +00:00
Ariel Backenroth
a9dba4a907 a first pass at the press release form and xsl
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3912 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-25 04:09:45 +00:00
Ariel Backenroth
66f93f07a3 fixing support for using xml namespaces within forms.
enabling using attributes within forms.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-25 00:09:26 +00:00
Jon Cox
ed741873e5 Preserving caps in mangling for prettier autogenerated URLs.
TODO: Even with this change, the mangler still isn't quite right 
       because if we adopt the convention:

             o  Default mangled names approximate 
                the navigation path, when possible

        Then if you're on the Moo website, and you're in the main layer 
        of the "guest" sandbox viewing /my_webapp/xxx.jsp,  then the url 
        should look like this:

           http://www-Moo--guest.avm.localdomain.lan:8180/my_webapp/xxx.jsp

        Not like this:
             http://www-Moo--guest--main.avm.localdomain.lan:8180/my_webapp/xxx.jsp
 
        Put another way, if the "main" layer is imlicit for the user, 
        it should not appear in the mangled name (note, the 'preview' layer
        is non-default, thus explicit).
        
        Therefore 'guest' on Moo should have the following name-mangled urls 
        accessible:
        
          http://www-Moo--guest.avm.localdomain.lan:8180/my_webapp/xxx.jsp
          http://www-Moo--guest--preview.avm.localdomain.lan:8180/my_webapp/xxx.jsp


 NOTE: Consider how this would work with more complicated overlays.  

   Example 1:

       Suppose we had a website named   "Moo",
       and an author            name    "Alice"
       wanted to see template preview.

       We could autogenerate something like this:
           http://www-Moo--Alice--Preview.avm.localdomain.lan:8180/my_webapp/...

       The non-preview version would be in:
           http://www-Moo--Alice.avm.localdomain.lan:8180/my_webapp/...


       In the advanced GUI, just like you can see the Alice sandbox
       hanging off the Moo website, you'd be able to see/navigate 
       to the "Preview" layer  (though we would not expose such a thing
       by default in the simple gui).


   Example 2:

       Suppose we had a website named   "Moo",
       and a content reviewer   named   "John Smith"
       wanted to see a submission from  "Alice"

       We could autogenerate something like this:

           http://www-Moo--John-Smith--SUB-Alice.avm.localdomain.lan:8180/my_webapp/...

       (i.e.: autogenerated sumission layers could just be
              "SUB-" + DNS name of layer tha did the submit).
       



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3909 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-24 21:51:39 +00:00
Ariel Backenroth
069649c8ed some fixes for reading in default values for checkboxes and dates. checking in some of my test xsds and xsls.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3908 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-24 16:51:47 +00:00
Ariel Backenroth
de3e2ef435 removing temp file write in generating xform - instead passing a downloadable url to the schema (which includes the users ticket).
removing xmlbeans - replacing with a super simple and minimal implementation of default xml instance generation (which supports default values).



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3907 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-24 15:44:13 +00:00
Britt Park
bbc92c8143 Simple promote action (moves changed content from sandbox to sandbox).
Fixed various pathetic flaws in SimpleAVMSubmitAction.
AVMSyncService.flatten() silently ignores harmless do nothing calls.
Cleared up small episode of Eclipse Add Import Tourette's. ;)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3900 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-22 22:34:20 +00:00
Kevin Roast
abe2da765f . WCM UI
- Submit All action added for submitting an entire user sandbox (tasty!)
 - Submit action added for deleted files/folders
 - Submit action now working correctly for modified files/folders
 - Status message output on successful/fail submit
 - WCM Domain and Port added to web-client-config.xml
   - For the virtualisation server URL generation

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3898 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-22 19:57:37 +00:00
Britt Park
a17d39ed22 Added a natural-id element to mapping definition for ChildEntries.
Added two apparently necessary hibernate flushes.
Added a createSnapshot call after unzipping in ImportWebsiteDialog.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3896 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-22 17:28:05 +00:00
Kevin Roast
4591467318 . WCM UI
- Submit action added for documents/folders for a user sandbox
   - To push a modifed item into the main staging area

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3894 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-22 16:31:46 +00:00
Britt Park
1fe792cb65 Added logger to AVMRepository, by the way. Web-site summary now shows
the correct number of users.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3882 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-22 05:08:33 +00:00
Britt Park
798ed97aef Sandbox store to dns name mangler. It's hooked into the website creation wizard.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3880 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-22 01:56:38 +00:00
Britt Park
966746b294 Added .sandbox.store.foo-bar-baz tag during user sandbox store creation.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3878 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-21 22:54:58 +00:00