From: Mathieu Baudier Date: Thu, 24 Mar 2011 02:02:54 +0000 (+0000) Subject: Remove unused projects X-Git-Tag: argeo-commons-2.1.30~1318 X-Git-Url: https://git.argeo.org/?a=commitdiff_plain;h=0ceaef8eb3172da98031699fc3d306c6816fea44;p=lgpl%2Fargeo-commons.git Remove unused projects git-svn-id: https://svn.argeo.org/commons/trunk@4360 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- diff --git a/security/dep/org.argeo.security.dep.ldap/pom.xml b/security/dep/org.argeo.security.dep.ldap/pom.xml deleted file mode 100644 index c9e0bca16..000000000 --- a/security/dep/org.argeo.security.dep.ldap/pom.xml +++ /dev/null @@ -1,24 +0,0 @@ - - 4.0.0 - - org.argeo.commons.security - 0.2.3-SNAPSHOT - dep - .. - - org.argeo.security.dep.ldap - pom - Commons Security LDAP Dependencies - - - org.argeo.commons.security - org.argeo.security.mvc - 0.2.3-SNAPSHOT - - - org.argeo.commons.server - org.argeo.server.json - 0.2.3-SNAPSHOT - - - \ No newline at end of file diff --git a/security/dep/pom.xml b/security/dep/pom.xml index c60a6b2f1..e09a0513a 100644 --- a/security/dep/pom.xml +++ b/security/dep/pom.xml @@ -12,7 +12,6 @@ Commons Security Dependencies pom - org.argeo.security.dep.ldap org.argeo.security.dep.ads org.argeo.security.dep.node diff --git a/security/runtime/org.argeo.security.ria/.project b/security/runtime/org.argeo.security.ria/.project deleted file mode 100644 index e957cf815..000000000 --- a/security/runtime/org.argeo.security.ria/.project +++ /dev/null @@ -1,11 +0,0 @@ - - - org.argeo.security.ria - - - - - - - - diff --git a/security/runtime/org.argeo.security.ria/assembly/ria-security.xml b/security/runtime/org.argeo.security.ria/assembly/ria-security.xml deleted file mode 100644 index 8fc449750..000000000 --- a/security/runtime/org.argeo.security.ria/assembly/ria-security.xml +++ /dev/null @@ -1,17 +0,0 @@ - - ria-security - false - - zip - - - - src/argeo-ria-lib/security - - - */** - - - - \ No newline at end of file diff --git a/security/runtime/org.argeo.security.ria/config.json b/security/runtime/org.argeo.security.ria/config.json deleted file mode 100644 index 45eb7eb23..000000000 --- a/security/runtime/org.argeo.security.ria/config.json +++ /dev/null @@ -1,228 +0,0 @@ -{ - "name" : "ria", - - "include" : - [ - { - "path" : "${QOOXDOO_PATH}/component/apiviewer/api.json", - "as" : "apiconf" - }, - { - "path" : "${QOOXDOO_PATH}/component/testrunner/testrunner.json", - "as" : "testrunner" - } - ], - - "let" : - { - "APPLICATION" : "org.argeo.ria", - "QOOXDOO_PATH" : "src/qooxdoo-sdk", - "QXTHEME" : "org.argeo.ria.theme.RiaTheme", - "API_EXCLUDE" : ["qx.legacy.*"], - "LOCALES" : [ "en" ], - "ROOT" : "src/argeo-ria-src", - "BUILD_PATH" : "target/classes/argeo-ria", - "RIA_LIB_PATH" : "src/argeo-ria-lib", - "RIA_LIB_URI" : "../argeo-ria-lib", - "CACHE" : "cache" , - "CUSTOM_PACKAGE" : "org.argeo.security.ria" - }, - - "jobs" : - { - "common" : - { - "library" : - [ - { - "manifest" : "${QOOXDOO_PATH}/framework/Manifest.json", - "uri" : "../qooxdoo-sdk/framework" - }, - { - "manifest" : "${RIA_LIB_PATH}/security/Manifest.json", - "uri" : "${RIA_LIB_URI}/security" - }, - { - "manifest" : "${ROOT}/Manifest.json", - "uri" : "." - } - ], - - "include" : - [ - "${APPLICATION}.Application", - "${CUSTOM_PACKAGE}.*", - "${QXTHEME}" - ], - - "cache" : - { - "compile" : "${CACHE}" - }, - - "settings" : - { - "qx.version" : "${QXVERSION}", - "qx.theme" : "${QXTHEME}", - "qx.application" : "${APPLICATION}.Application", - "ria.branding.splashScreen" : "ria/ArgeoLogo.png", - "ria.branding.applicationTitle" : "Argeo Security RIA", - "ria.branding.aboutString" : "Argeo Ria is a product of Argeo", - "ria.auth.enableAuth" : "true", - "ria.auth.credentialsURI" : "/org.argeo.security.webapp/getCredentials.ria", - "ria.auth.loginURI" : "/org.argeo.security.webapp/login.ria", - "ria.auth.logoutURI" : "/org.argeo.security.webapp/logout.ria", - "ria.StartupPerspective" : "org.argeo.security.ria.Perspective" - } - }, - - // -- source jobs -------------------------------------------------- - - "source-script" : - { - "extend" : ["common"], - - "compile-options" : - { - "paths" : - { - "file" : "${ROOT}/script/${APPLICATION}.js", - "root" : "${ROOT}", - "resource" : "resource", - "gzip" : false - }, - "code" : - { - "locales" : "${LOCALES}" - } - }, - - "compile" : { "type" : "source" } - }, - - - "slc-source" : - { - "run" : - [ - "source-script" - ] - }, - - // -- build jobs -------------------------------------------------- - - "build-script" : - { - "extend" : ["common"], - - "variants" : - { - "qx.debug" : ["off"] - }, - - "compile-options" : - { - "paths" : - { - "file" : "${BUILD_PATH}/script/${APPLICATION}.js", - "gzip" : false - }, - "uris" : - { - "script" : "script", - "resource" : "resource" - }, - "code" : - { - "format" : true, - "locales" : "${LOCALES}", - "optimize" : ["variables", "basecalls", "privates", "strings"] - } - }, - "compile" : { "type" : "build" } - }, - - - "build-resources": - { - "extend" : ["common"], - - "copy-resources" : - { - "target" : "${BUILD_PATH}", - "resource-filter" : true - } - }, - - "my-build-files" : - { - "extend" : ["common"], - - "copy-files" : - { - "files" : - [ - "index.html" - ], - "source" : "${ROOT}", - "target" : "${BUILD_PATH}" - } - }, - - "slc-build" : - { - "run" : - [ - "build-script", - "my-build-files", - "build-resources" - ] - }, - - "slc-api" : - { - "extend" : ["apiconf::build"], - - "let" : - { - "APIVIEWER_ROOT" : "${QOOXDOO_PATH}/component/apiviewer", - "BUILD_PATH" : "./target/site/argeo-ria-api/", - "API_INCLUDE" : ["${APPLICATION}.*", "${CUSTOM_PACKAGE}.*"] - }, - - "library" : - [ - { - "manifest" : "${ROOT}/Manifest.json", - "uri" : ".." - }, - { - "manifest" : "${RIA_LIB_PATH}/security/Manifest.json", - "uri" : "${RIA_LIB_URI}/security" - } - ] - }, - - "slc-test" : - { - "extend" : ["testrunner::build"], - - "let" : - { - "TESTRUNNER_ROOT" : "${QOOXDOO_PATH}/component/testrunner", - "TEST_INCLUDE" : "${APPLICATION}.test.*", - "BUILD_PATH" : "./target/site/argeo-ria-test/" - }, - - "library" : - [ - { - "manifest" : "${ROOT}/Manifest.json", - "uri" : ".." - } - ] - } - - - } -} diff --git a/security/runtime/org.argeo.security.ria/pom.xml b/security/runtime/org.argeo.security.ria/pom.xml deleted file mode 100644 index e3f9e4926..000000000 --- a/security/runtime/org.argeo.security.ria/pom.xml +++ /dev/null @@ -1,154 +0,0 @@ - - 4.0.0 - - org.argeo.commons.security - runtime - 0.2.3-SNAPSHOT - .. - - org.argeo.commons.security - org.argeo.security.ria - jar - Commons Security RIA - - - - src - - index.jsp - WEB-INF/* - - - - - - org.argeo.maven.plugins - maven-argeo-qooxdoo-plugin - ${version.maven-argeo-qooxdoo} - - 1.1.0 - - - - env - initialize - - env - - - - env-site - pre-site - - env - - - - slc-source - test - - generate - - - slc-source - - - - slc-build - test - - generate - - - slc-build - - - - - - org.apache.felix - maven-bundle-plugin - ${version.maven-bundle-plugin} - - - ${project.artifactId} - ${project.version}-r${buildNumber} - - - javax.servlet, - javax.servlet.http, - javax.servlet.jsp, - javax.servlet.jsp.jstl.core, - javax.servlet.jsp.jstl.fmt, - javax.servlet.jsp.jstl.tlv, - javax.servlet.resources - - org.argeo.security.ria - - - - - bundle-manifest - process-classes - - manifest - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack-argeo-ria-sdk - initialize - - unpack - - - - - org.argeo.ria - org.argeo.ria.core - ria - zip - src/argeo-ria-src - - - false - true - - - - - - org.apache.maven.plugins - maven-assembly-plugin - - - assembly-ria - package - - single - - - - assembly/ria-security.xml - - - - - - - - - - - org.argeo.ria - org.argeo.ria.core - ${version.argeo-ria} - - - - \ No newline at end of file diff --git a/security/runtime/org.argeo.security.ria/src/WEB-INF/web.xml b/security/runtime/org.argeo.security.ria/src/WEB-INF/web.xml deleted file mode 100644 index 37e320491..000000000 --- a/security/runtime/org.argeo.security.ria/src/WEB-INF/web.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - Argeo Security UI - - diff --git a/security/runtime/org.argeo.security.ria/src/argeo-ria-lib/security/Manifest.json b/security/runtime/org.argeo.security.ria/src/argeo-ria-lib/security/Manifest.json deleted file mode 100644 index 4f64685dd..000000000 --- a/security/runtime/org.argeo.security.ria/src/argeo-ria-lib/security/Manifest.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "info" : - { - "name" : "org.argeo.security.ria", - - "summary" : "Ria library for security management", - "description" : "Ria library for security management", - - "homepage" : "http://www.argeo.org/", - - "license" : "LGPL", - "authors" : - [ - { - "name" : "Charles du Jeu", - "email" : "charles.dujeu@argeo.org" - } - ], - - "version" : "trunk", - "qooxdoo-versions": ["1.1"] - }, - - "provides" : - { - "namespace" : "org.argeo.security.ria", - "encoding" : "utf-8", - "class" : "class", - "resource" : "resource", - "translation" : "translation", - "type" : "library" - } -} - diff --git a/security/runtime/org.argeo.security.ria/src/argeo-ria-lib/security/class/org/argeo/security/ria/Perspective.js b/security/runtime/org.argeo.security.ria/src/argeo-ria-lib/security/class/org/argeo/security/ria/Perspective.js deleted file mode 100644 index 7309b45ff..000000000 --- a/security/runtime/org.argeo.security.ria/src/argeo-ria-lib/security/class/org/argeo/security/ria/Perspective.js +++ /dev/null @@ -1,66 +0,0 @@ -/** - * IPerspective Implementation : Horizontal split pane defining two panes, - * "list" and "applet". - */ -/* ************************************************************************ - -#asset(org/argeo/security/ria/*) - -************************************************************************ */ - -qx.Class.define("org.argeo.security.ria.Perspective", { - extend : qx.core.Object, - implement : [org.argeo.ria.components.IPerspective], - - construct : function() { - this.base(arguments); - }, - - statics : { - LABEL : "RIA Security", - ICON : "org/argeo/security/ria/preferences-security.png", - ACCESS:"!ROLE_ANONYMOUS" - }, - - - members : { - - initViewPanes : function(viewsManager) { - - this._firstSplit = new qx.ui.splitpane.Pane("horizontal"); - this._secondSplit = new qx.ui.splitpane.Pane("horizontal"); - this._secondSplit.setDecorator(null); - - var rolesPane = new org.argeo.ria.components.ViewPane("roles", "Roles"); - viewsManager.registerViewPane(rolesPane); - var usersPane = new org.argeo.ria.components.ViewPane("users", "Users"); - viewsManager.registerViewPane(usersPane); - var editorPane = new org.argeo.ria.components.TabbedViewPane("editor", "Editor"); - viewsManager.registerViewPane(editorPane); - - this._firstSplit.add(rolesPane, 1); - this._firstSplit.add(this._secondSplit, 4); - - this._secondSplit.add(usersPane, 3); - this._secondSplit.add(editorPane, 4); - - viewsManager.getViewPanesContainer().add(this._firstSplit, {flex : 1}); - }, - - initViews : function(viewsManager) { - - var rolesView = viewsManager.initIViewClass(org.argeo.security.ria.RolesApplet, "roles"); - var usersView = viewsManager.initIViewClass(org.argeo.security.ria.UsersApplet, "users"); - - rolesView.load(); - usersView.load(); - - }, - - remove : function(viewsManager) { - viewsManager.getViewPanesContainer().remove(this._firstSplit); - } - - } - -}); \ No newline at end of file diff --git a/security/runtime/org.argeo.security.ria/src/argeo-ria-lib/security/class/org/argeo/security/ria/RolesApplet.js b/security/runtime/org.argeo.security.ria/src/argeo-ria-lib/security/class/org/argeo/security/ria/RolesApplet.js deleted file mode 100644 index 9ae4eff77..000000000 --- a/security/runtime/org.argeo.security.ria/src/argeo-ria-lib/security/class/org/argeo/security/ria/RolesApplet.js +++ /dev/null @@ -1,421 +0,0 @@ -/** - * A simple Hello World applet for documentation purpose. - * The only associated command is the "Close" command. - */ -/* ************************************************* -#asset(org/argeo/ria/sample/window-close.png) -****************************************************/ -qx.Class.define("org.argeo.security.ria.RolesApplet", -{ - extend : qx.ui.container.Composite, - implement : [org.argeo.ria.components.IView], - - construct : function(){ - this.base(arguments); - this.setLayout(new qx.ui.layout.VBox()); - }, - - properties : - { - /** - * The viewPane inside which this applet is added. - */ - view : { - init : null - }, - /** - * Commands definition, see {@link org.argeo.ria.event.CommandsManager#definitions} - */ - commands : { - init : { - "reload" : { - label : "Reload Data", - icon : "org/argeo/security/ria/view-refresh.png", - shortcut : "Control+h", - enabled : true, - menu : "Roles", - toolbar : "roles", - callback : function(e){ - this.loadRolesList(); - }, - command : null - }, - "new_role" : { - label : "Create Role", - icon : "org/argeo/security/ria/list-add.png", - shortcut : null, - enabled : true, - menu : "Roles", - toolbar : null, - callback : function(e){ - // Prompt for new name - var modal = new org.argeo.ria.components.Modal(); - modal.makePromptForm("Please enter a role name", function(roleName){ - var service = org.argeo.security.ria.SecurityAPI.getCreateRoleService(roleName); - service.addListener("completed", function(response){ - this.loadRolesList(); - }, this); - service.send(); - }, this); - modal.attachAndShow(); - }, - command : null - }, - "delete_role" : { - label : "Delete Role", - icon : "org/argeo/security/ria/list-remove.png", - shortcut : null, - enabled : true, - menu : "Roles", - toolbar : null, - callback : function(e){ - // Call service to delete - var roles = this.getViewSelection().getNodes(); - var modal = new org.argeo.ria.components.Modal("Delete"); - modal.addConfirm("Are you sure you want to delete the selected roles?"); - modal.addListener("ok", function(e){ - for(var i=0;i 1)); - }, - command : null - } - } - }, - viewSelection : { - nullable:false, - check:"org.argeo.ria.components.ViewSelection" - }, - guiMode : { - apply : "_applyGuiMode" - }, - rolesList : { - check : "Array", - event : "changeRolesList" - }, - chooserOriginalSelection : {}, - chooserSelectionModified : { - init:false, - event : "chooserSelectionWasModified" - }, - instanceId : {init:""}, - instanceLabel : {init:""} - }, - - members : - { - /** - * Called at applet creation. Just registers viewPane. - * @param viewPane {org.argeo.ria.components.ViewPane} The viewPane. - */ - init : function(viewPane){ - this.setView(viewPane); - this.setViewSelection(new org.argeo.ria.components.ViewSelection(viewPane.getViewId())); - - this.toolBar = new qx.ui.toolbar.ToolBar(); - this.toolBarPart = new qx.ui.toolbar.Part(); - this.toolBar.add(this.toolBarPart); - viewPane.add(this.toolBar); - - this.tableModel = new qx.ui.table.model.Simple(); - this.tableModel.setColumns(["Role Name"]); - this.table = new qx.ui.table.Table(this.tableModel, { - tableColumnModel: function(obj){ - return new qx.ui.table.columnmodel.Resize(obj) - } - }); - this.table.setStatusBarVisible(false); - this.table.setShowCellFocusIndicator(false); - this.table.setColumnVisibilityButtonVisible(false); - this.table.highlightFocusedRow(false); - viewPane.add(this.table, {height:"100%"}); - this.table.getSelectionModel().addListener("changeSelection", function(){ - this._selectionToValues(this.table.getSelectionModel(), this.getViewSelection()); - }, this); - - this.rolesUsersStub = {"ROLE_ADMIN":["gandalf"],"ROLE_USER":["demo","frodo","gandalf"]}; - - this.toggleButton = new qx.ui.form.ToggleButton("Filter", "org/argeo/security/ria/go-next.png"); - this.toggleButton.set({ - show:"icon", - margin:2, - toolTip :new qx.ui.tooltip.ToolTip("Apply automatic filtering on Users list") - }); - - // TOGGLE THE GUI MODES - this.toggleButton.addListener("changeValue", function(event){ - this.setGuiMode(event.getData()?"filter":"clear"); - }, this); - - this.saveButton = new qx.ui.form.Button("Save", "org/argeo/security/ria/document-save.png"); - this.saveButton.set({ - show:"icon", - margin:2, - toolTip :new qx.ui.tooltip.ToolTip("Save changes"), - visibility : "excluded" - }); - - this.cancelButton = new qx.ui.form.Button("Cancel", "org/argeo/security/ria/window-close.png"); - this.cancelButton.set({ - show:"icon", - margin:2, - toolTip :new qx.ui.tooltip.ToolTip("Cancel changes"), - visibility : "excluded" - }); - - this.saveButton.addListener("execute", function(){ - if(!this.usersAppletReference){ - this.setGuiMode(this.initialState); - return; - } - var newSelection = this.usersAppletReference.getViewSelection().getNodes(); - var diff = this._selectionDiff(this.getChooserOriginalSelection(), newSelection); - this.saveRoleModifications(diff.deltaPlus, diff.deltaMinus); - this.setGuiMode(this.initialState); - }, this); - this.cancelButton.addListener("execute", function(){ - if(!this.getChooserSelectionModified()){ - this.setGuiMode(this.initialState); - return; - } - var modal = new org.argeo.ria.components.Modal("Warning"); - modal.addConfirm("There are unsaved changes!\n Are you sure you want to close?"); - modal.addListener("ok", function(){ - this.setGuiMode(this.initialState); - }, this); - modal.attachAndShow(); - }, this); - - this.table.addListener("cellDblclick", function(cellEvent){ - this.setGuiMode("edit"); - }, this); - this.addListener("changeRolesList", function(event){ - var data = []; - event.getData().forEach(function(el){data.push([el]);}); - this.tableModel.setData(data); - }, this); - - this.setGuiMode("clear"); - }, - - _applyGuiMode : function(guiMode, previousMode){ - var selectionModel = this.table.getSelectionModel(); - if(!this.usersAppletReference){ - var vManager = org.argeo.ria.components.ViewsManager.getInstance(); - this.usersAppletReference = vManager.getViewPaneById("users").getContent(); - } - - this.saveButton.setVisibility((guiMode=="edit"?"visible":"excluded")); - this.cancelButton.setVisibility((guiMode=="edit"?"visible":"excluded")); - this.table.setEnabled((guiMode=="edit"?false:true)); - this.toggleButton.setVisibility((guiMode=="edit"?"excluded":"visible")); - - if(guiMode == "filter"){ - if(this.usersAppletReference){ - this.usersAppletReference.setGuiMode(("filter")); - var viewSel = this.usersAppletReference.getViewSelection(); - viewSel.removeListener("changeSelection", this.monitorChooserSelectionChanges, this); - } - selectionModel.addListener("changeSelection", this.selectionToFilter, this); - if(selectionModel.getSelectedCount()){ - var orig = selectionModel.getSelectedRanges()[0].minIndex; - } - selectionModel.setSelectionMode(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION_TOGGLE); - if(orig){ - selectionModel.addSelectionInterval(orig, orig); - } - this.selectionToFilter(); - }else if(guiMode == "edit"){ - if(!this.usersAppletReference) return; - this.initialState = previousMode; - if(previousMode == "filter"){ - this.usersAppletReference.setGuiMode(("clear")); - selectionModel.removeListener("changeSelection", this.selectionToFilter, this); - } - this.usersAppletReference.setGuiMode(("chooser")); - this.selectionToChooser(); // Warning, to be called before calling listener! - var viewSel = this.usersAppletReference.getViewSelection(); - viewSel.addListener("changeSelection", this.monitorChooserSelectionChanges, this); - }else if(guiMode == "clear"){ - if(this.usersAppletReference){ - this.usersAppletReference.setGuiMode(("clear")); - var viewSel = this.usersAppletReference.getViewSelection(); - viewSel.removeListener("changeSelection", this.monitorChooserSelectionChanges, this); - } - this.table.setEnabled(true); - selectionModel.removeListener("changeSelection", this.selectionToFilter, this); - if(selectionModel.getSelectedCount()){ - var orig = selectionModel.getSelectedRanges()[0].minIndex; - } - selectionModel.setSelectionMode(qx.ui.table.selection.Model.SINGLE_SELECTION); - if(orig){ - selectionModel.addSelectionInterval(orig, orig); - } - } - }, - - saveRoleModifications : function(deltaPlus, deltaMinus){ - // LOAD CONCERNED USERS - var selectionModel = this.table.getSelectionModel(); - if(!selectionModel.getSelectedCount()){ - return; - } - var roleValue = this._selectionToValues(selectionModel)[0]; - - var users = deltaPlus.concat(deltaMinus); - var modal = new org.argeo.ria.components.Modal("Batch Update", "", "Please wait, updating roles for selected users"); - modal.attachAndShow(); - for(var i=0;i1)); - }, - command : null - }, - "edit_user" : { - label : "Edit User", - icon : "org/argeo/security/ria/document-properties.png", - shortcut : "Control+u", - enabled : true, - menu : "Users", - toolbar : null, - callback : function(e){ - // Call service to delete - var crtUser = this.getViewSelection().getNodes()[0]; - var classObj = org.argeo.security.ria.UserEditorApplet; - var initData = {USER:crtUser,ROLES_LIST:this.getRolesList()}; - var iView = org.argeo.ria.components.ViewsManager.getInstance().initIViewClass(classObj, "editor", initData); - iView.load(crtUser); - iView.addListener("savedUser", function(e){ - this.refreshUserEntry(e.getData()); - }, this); - }, - selectionChange : function(viewName, data){ - if(viewName != "users") return; - this.setEnabled(!(data == null || !data.length || data.length > 1)); - }, - command : null - } - } - }, - - guiMode : { - init : "filter", - apply : "_applyGuiMode" - }, - - viewSelection : { - nullable:false, - check:"org.argeo.ria.components.ViewSelection" - }, - usersList : { - check : "Map", - apply : "_applyUsersList", - event : "changeUsersList" - }, - rolesList : { - check : "Array" - }, - instanceId : {init:""}, - instanceLabel : {init:""} - }, - - members : - { - /** - * Called at applet creation. Just registers viewPane. - * @param viewPane {org.argeo.ria.components.ViewPane} The viewPane. - */ - init : function(viewPane){ - this.setView(viewPane); - this.setViewSelection(new org.argeo.ria.components.ViewSelection(viewPane.getViewId())); - - this.toolBar = new qx.ui.toolbar.ToolBar(); - this.toolBarPart = new qx.ui.toolbar.Part(); - this.toolBar.add(this.toolBarPart); - viewPane.add(this.toolBar); - - this.tableModel = new qx.ui.table.model.Filtered(); - this.tableModel.setColumns(["username", "roles"]); - this.table = new qx.ui.table.Table(this.tableModel, { - tableColumnModel: function(obj){ - return new qx.ui.table.columnmodel.Resize(obj) - } - }); - this.table.setStatusBarVisible(false); - this.table.setShowCellFocusIndicator(false); - this.table.setColumnVisibilityButtonVisible(false); - this.table.highlightFocusedRow(false); - viewPane.add(this.table, {height:"100%"}); - this.table.getSelectionModel().addListener("changeSelection", function(){ - this._selectionToValues(this.table.getSelectionModel(), this.getViewSelection()); - }, this); - this.table.addListener("cellDblclick", function(cellEvent){ - this.getCommands()["edit_user"].command.execute(); - }, this); - - this.setRolesList([]); - this.setUsersList({}); - this.setGuiMode("clear"); - }, - - _applyGuiMode : function(newMode, oldMode){ - this.table.getSelectionModel().resetSelection(); - this.resetHiddenRows(); - if(newMode == "filter"){ - this.table.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.SINGLE_SELECTION); - }else if(newMode == "chooser"){ - this.table.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION_TOGGLE); - }else if(newMode == "clear"){ - this.table.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.SINGLE_SELECTION); - } - }, - - _selectionToValues : function(selectionModel, viewSelection){ - if(viewSelection){ - viewSelection.setBatchMode(true); - viewSelection.clear(); - } - if(!selectionModel.getSelectedCount()) return []; - var ranges = selectionModel.getSelectedRanges(); - var values = []; - for(var i=0;i -<%@ page language="java" contentType="text/html"%> -<% -response.sendRedirect("argeo-ria/index.html"); -%> diff --git a/security/runtime/pom.xml b/security/runtime/pom.xml index 9ecd07c06..cd8ead702 100644 --- a/security/runtime/pom.xml +++ b/security/runtime/pom.xml @@ -13,7 +13,6 @@ pom org.argeo.security.core - org.argeo.security.ldap org.argeo.security.activemq org.argeo.security.jackrabbit @@ -64,19 +63,4 @@ - - - withRia - - true - - - - - - - withoutRia - - - \ No newline at end of file