diff --git a/BuildFiles/Packaging/do-sprint b/BuildFiles/Packaging/do-sprint index 8a32285a..5b0ee22a 100755 --- a/BuildFiles/Packaging/do-sprint +++ b/BuildFiles/Packaging/do-sprint @@ -1,6 +1,3 @@ #!/bin/bash ./repackage-build sprint - -cp -R /home/prod/Smallwebs/HostedScripts/staging/* /home/prod/Smallwebs/HostedScripts/. -./repackage-one extscripts sprint diff --git a/BuildFiles/Packaging/scripts/repackage-build b/BuildFiles/Packaging/scripts/repackage-build index 88eda043..f1b01ef7 100755 --- a/BuildFiles/Packaging/scripts/repackage-build +++ b/BuildFiles/Packaging/scripts/repackage-build @@ -47,7 +47,8 @@ scripts/repackage-one backend $1 scripts/repackage-one common $1 if [ "$DROPFOLDER" != "internal" ]; then - # packaging extscripts should go here; copy from do-sprint + cp -R /home/prod/Smallwebs/HostedScripts/staging/* /home/prod/Smallwebs/HostedScripts/. + scripts/repackage-one extscripts sprint fi echo "Notifying developers that new build has packaged for test/deployment..." diff --git a/Logic/Security/Accesses.cs b/Logic/Security/Accesses.cs index 27a92a6e..aa588e72 100644 --- a/Logic/Security/Accesses.cs +++ b/Logic/Security/Accesses.cs @@ -35,9 +35,22 @@ namespace Swarmops.Logic.Security public enum AccessAspect { Unknown = 0, + /// + /// Access to underlying ledgers + /// Bookkeeping, + /// + /// Access to regular accounting + /// Financials, - PersonData + /// + /// Access to personal details about people in org + /// + PersonData, + /// + /// Access to change organization's fundamental operating parameters + /// + Administration } public enum AccessType diff --git a/Site5/App_GlobalResources/GeographyNames.resx b/Site5/App_GlobalResources/GeographyNames.resx index 790aba2e..8363089c 100644 --- a/Site5/App_GlobalResources/GeographyNames.resx +++ b/Site5/App_GlobalResources/GeographyNames.resx @@ -119,7 +119,7 @@ Eastern Europe - (East of former Iron Curtain) + (East of southern tip of Sweden, roughly) Europe @@ -134,7 +134,7 @@ Western Europe - (West of former Iron Curtain) + (West of southern tip of Sweden, roughly) World diff --git a/Site5/App_GlobalResources/Menu5.resx b/Site5/App_GlobalResources/Menu5.resx index b0d087bd..33e9f738 100644 --- a/Site5/App_GlobalResources/Menu5.resx +++ b/Site5/App_GlobalResources/Menu5.resx @@ -124,7 +124,10 @@ Access Control Lists - Create Organization + Create New Organization + + + Edit Organization Geography Tree diff --git a/Site5/App_GlobalResources/Pages_Admin.resx b/Site5/App_GlobalResources/Pages_Admin.resx index 64c081f4..35a66938 100644 --- a/Site5/App_GlobalResources/Pages_Admin.resx +++ b/Site5/App_GlobalResources/Pages_Admin.resx @@ -147,7 +147,13 @@ This can be "members", etc. - The new organization has been created. You have been given an initial two-year {0} in the organization, so you can work with it and set it up properly. To switch to working with your new organization, use the control panel top right. + The new organization has been created. You have been given an initial two-year {0} in the organization, so you can work with it and set it up properly. You have also been <strong>logged in</strong> to your new organization instead of the one you were logged in to before.<br/><br/>This is the Edit Organization panel, where you can set more parameters for your new organization. The {0} is membership, employment, citizenship, residence, etc. + + Work in progress... + + + Edit Organization + \ No newline at end of file diff --git a/Site5/Controls/v5/UI/ExternalScripts.ascx.cs b/Site5/Controls/v5/UI/ExternalScripts.ascx.cs index ddbc6574..30fb554a 100644 --- a/Site5/Controls/v5/UI/ExternalScripts.ascx.cs +++ b/Site5/Controls/v5/UI/ExternalScripts.ascx.cs @@ -17,9 +17,9 @@ namespace Swarmops.Frontend.Controls.v5.UI { externalScriptUrl = "/Scripts/ExternalScripts"; } - else if (PilotInstallationIds.IsPilot(PilotInstallationIds.DevelopmentSandbox)) + else if (System.Diagnostics.Debugger.IsAttached || PilotInstallationIds.IsPilot(PilotInstallationIds.DevelopmentSandbox)) { - externalScriptUrl += "/staging"; // use staging area for new script versions on Sandbox + externalScriptUrl += "/staging"; // use staging area for new script versions on Sandbox and for all debugging } if (Package == "easyui") @@ -42,6 +42,6 @@ namespace Swarmops.Frontend.Controls.v5.UI } public string Package { get; set; } - public string Controls { get; set; } + public new string Controls { get; set; } } } \ No newline at end of file diff --git a/Site5/Images/Icons/iconshock-colorswatch-64px.png b/Site5/Images/Icons/iconshock-colorswatch-64px.png new file mode 100644 index 00000000..759179b0 Binary files /dev/null and b/Site5/Images/Icons/iconshock-colorswatch-64px.png differ diff --git a/Site5/Images/Icons/iconshock-group-diversified-64px.png b/Site5/Images/Icons/iconshock-group-diversified-64px.png new file mode 100644 index 00000000..19d6d6df Binary files /dev/null and b/Site5/Images/Icons/iconshock-group-diversified-64px.png differ diff --git a/Site5/Images/Icons/iconshock-group-diversified-source.png b/Site5/Images/Icons/iconshock-group-diversified-source.png new file mode 100644 index 00000000..c0415122 Binary files /dev/null and b/Site5/Images/Icons/iconshock-group-diversified-source.png differ diff --git a/Site5/Images/Icons/iconshock-mail-open-64px.png b/Site5/Images/Icons/iconshock-mail-open-64px.png new file mode 100644 index 00000000..8e018048 Binary files /dev/null and b/Site5/Images/Icons/iconshock-mail-open-64px.png differ diff --git a/Site5/Images/Icons/iconshock-switch-red-64px-hot.png b/Site5/Images/Icons/iconshock-switch-red-64px-hot.png new file mode 100644 index 00000000..18047c50 Binary files /dev/null and b/Site5/Images/Icons/iconshock-switch-red-64px-hot.png differ diff --git a/Site5/Images/Icons/iconshock-switch-red-64px.png b/Site5/Images/Icons/iconshock-switch-red-64px.png new file mode 100644 index 00000000..2f737a10 Binary files /dev/null and b/Site5/Images/Icons/iconshock-switch-red-64px.png differ diff --git a/Site5/Images/PageIcons/iconshock-box-cog-16px.png b/Site5/Images/PageIcons/iconshock-box-cog-16px.png new file mode 100644 index 00000000..c981e64d Binary files /dev/null and b/Site5/Images/PageIcons/iconshock-box-cog-16px.png differ diff --git a/Site5/Images/PageIcons/iconshock-box-cog-40px.png b/Site5/Images/PageIcons/iconshock-box-cog-40px.png new file mode 100644 index 00000000..614465a0 Binary files /dev/null and b/Site5/Images/PageIcons/iconshock-box-cog-40px.png differ diff --git a/Site5/Images/PageIcons/iconshock-organizations-config-16px.png b/Site5/Images/PageIcons/iconshock-organizations-config-16px.png new file mode 100644 index 00000000..0aa724d2 Binary files /dev/null and b/Site5/Images/PageIcons/iconshock-organizations-config-16px.png differ diff --git a/Site5/Images/PageIcons/iconshock-organizations-config-40px.png b/Site5/Images/PageIcons/iconshock-organizations-config-40px.png new file mode 100644 index 00000000..562b1d7e Binary files /dev/null and b/Site5/Images/PageIcons/iconshock-organizations-config-40px.png differ diff --git a/Site5/MainMenu-v5.xml b/Site5/MainMenu-v5.xml index 01aa5cdf..1e5dbab1 100644 --- a/Site5/MainMenu-v5.xml +++ b/Site5/MainMenu-v5.xml @@ -371,6 +371,16 @@ Submenu + + Administration_EditOrganization + 4 + + iconshock-box-cog + /Pages/v5/Admin/EditOrganization.aspx + Link + + + Administration_CreateOrganization 4 diff --git a/Site5/Master-v5.master b/Site5/Master-v5.master index 1af19fd6..3e4d5698 100644 --- a/Site5/Master-v5.master +++ b/Site5/Master-v5.master @@ -36,6 +36,7 @@ + diff --git a/Site5/Pages/v5/Admin/CreateOrganization.aspx b/Site5/Pages/v5/Admin/CreateOrganization.aspx index 545c6ac8..8441df21 100644 --- a/Site5/Pages/v5/Admin/CreateOrganization.aspx +++ b/Site5/Pages/v5/Admin/CreateOrganization.aspx @@ -2,8 +2,6 @@ <%@ Register TagPrefix="Swarmops5" TagName="ExternalScripts" Src="~/Controls/v5/UI/ExternalScripts.ascx" %> - - + + + + + + + + + +
+
+

Accounting Features

+
+

+

+ ​
+

+

+
+ +
+
+

Members policy

+ work in progress +
+
+

Communications profile and branding

+ work in progress +
+
+

Mail transmission settings

+
+ ​
+ ​
+ ​
+ ​
+ ​
+
+ +
+
+ +
+ + + diff --git a/Site5/Pages/v5/Admin/EditOrganization.aspx.cs b/Site5/Pages/v5/Admin/EditOrganization.aspx.cs new file mode 100644 index 00000000..9d932aa4 --- /dev/null +++ b/Site5/Pages/v5/Admin/EditOrganization.aspx.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using Swarmops.Logic.Security; + +namespace Swarmops.Frontend.Pages.v5.Admin +{ + + public partial class EditOrganization : PageV5Base + { + protected void Page_Load(object sender, EventArgs e) + { + this.PageIcon = "iconshock-box-cog"; + this.PageTitle = Resources.Pages_Admin.EditOrganization_PageTitle; + this.InfoBoxLiteral = Resources.Pages_Admin.EditOrganization_Info; + this.PageAccessRequired = new Access(CurrentOrganization, AccessAspect.Administration, AccessType.Write); + + this.EasyUIControlsUsed = EasyUIControl.Tabs; + + + + } + } + +} \ No newline at end of file diff --git a/Site5/Pages/v5/Admin/Hacks/PopulateData.aspx b/Site5/Pages/v5/Admin/Hacks/PopulateData.aspx index afe639f2..6aaf4c6f 100644 --- a/Site5/Pages/v5/Admin/Hacks/PopulateData.aspx +++ b/Site5/Pages/v5/Admin/Hacks/PopulateData.aspx @@ -8,7 +8,6 @@ - - - - - -