Seriously, how hard can it be for AnkhSvn to commit ALL modified files? Major refactoring, renaming Activizr namespace to Swarmops.
This commit is contained in:
+22
-22
@@ -3,24 +3,24 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Net.Mail;
|
||||
using System.Text;
|
||||
using Activizr.Basic;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Basic.Types;
|
||||
using Activizr.Database;
|
||||
using Activizr.Logic.Communications;
|
||||
using Activizr.Logic.Governance;
|
||||
using Activizr.Logic.Financial;
|
||||
using Activizr.Logic.Media;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Security;
|
||||
using Activizr.Logic.Special.Sweden;
|
||||
using Activizr.Logic.Structure;
|
||||
using Activizr.Logic.Support;
|
||||
using Activizr.Utility.BotCode;
|
||||
using Activizr.Utility.Mail;
|
||||
using Activizr.Utility.Special.Sweden;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Communications;
|
||||
using Swarmops.Logic.Financial;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Security;
|
||||
using Swarmops.Logic.Structure;
|
||||
using Swarmops.Utility.Special.Sweden;
|
||||
using Swarmops.Basic;
|
||||
using Swarmops.Basic.Types;
|
||||
using Swarmops.Database;
|
||||
using Swarmops.Logic.Governance;
|
||||
using Swarmops.Logic.Media;
|
||||
using Swarmops.Logic.Special.Sweden;
|
||||
using Swarmops.Logic.Support;
|
||||
using Swarmops.Utility.BotCode;
|
||||
using Swarmops.Utility.Mail;
|
||||
|
||||
namespace Activizr.Backend
|
||||
namespace Swarmops.Backend
|
||||
{
|
||||
|
||||
public class OneOffs
|
||||
@@ -1004,7 +1004,7 @@ namespace Activizr.Backend
|
||||
string password = Logic.Security.Authentication.CreateRandomPassword(16);
|
||||
//MailServerDatabase.SetNewPassword(person.PartyEmail, password);
|
||||
|
||||
Activizr.Utility.Mail.MailTransmitter mail = new Activizr.Utility.Mail.MailTransmitter
|
||||
MailTransmitter mail = new MailTransmitter
|
||||
("Rick Falkvinge (Piratpartiet)", "rick@piratpartiet.se",
|
||||
"TREDJE lösen till din mail - jag klantade mig",
|
||||
"Ok, jag är extremt klantig. Sorry. När det förra brevet gick ut nyss, så glömde jag ta bort koden som satte ett nytt lösen på allas mailkonton. Lösenordet byttes alltså alldeles nyss utan att du fick reda på det.\r\n\r\n" +
|
||||
@@ -1150,8 +1150,8 @@ namespace Activizr.Backend
|
||||
"Nu gör vi ett kanonresultat i valet 2009, och ser till att chocka etablissemanget ordentligt!\r\n\r\n" +
|
||||
"Hälsningar,\r\nRick\r\n\r\n";
|
||||
|
||||
Activizr.Utility.Mail.MailTransmitter mail =
|
||||
new Activizr.Utility.Mail.MailTransmitter("Rick Falkvinge (Piratpartiet)",
|
||||
MailTransmitter mail =
|
||||
new MailTransmitter("Rick Falkvinge (Piratpartiet)",
|
||||
"rick.falkvinge@piratpartiet.se",
|
||||
"Vill du vara aktiv medlem (\"aktivist\")?", mailBody,
|
||||
membership.Person);
|
||||
@@ -1194,9 +1194,9 @@ namespace Activizr.Backend
|
||||
|
||||
public static void WriteFirstVolunteersToDb()
|
||||
{
|
||||
Activizr.Basic.Types.BasicPWEvent[] events = PWEvents.ByType(EventType.NewVolunteer);
|
||||
BasicPWEvent[] events = PWEvents.ByType(EventType.NewVolunteer);
|
||||
|
||||
foreach (Activizr.Basic.Types.BasicPWEvent newEvent in events)
|
||||
foreach (BasicPWEvent newEvent in events)
|
||||
{
|
||||
Geography geography = Geography.FromIdentity(newEvent.GeographyId);
|
||||
string[] parts = newEvent.ParameterText.Split('|');
|
||||
|
||||
+23
-22
@@ -7,21 +7,22 @@ using System.Threading;
|
||||
using System.Net;
|
||||
using System.Net.Mail;
|
||||
|
||||
using Activizr.Basic;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Logic.Financial;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Special.Sweden;
|
||||
using Activizr.Logic.Structure;
|
||||
using Activizr.Logic.Support;
|
||||
using Activizr.Utility;
|
||||
using Activizr.Utility.BotCode;
|
||||
using Activizr.Utility.Financial;
|
||||
using Activizr.Utility.Mail;
|
||||
using Swarmops.Basic;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Financial;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Structure;
|
||||
using System.Diagnostics;
|
||||
using Activizr.Utility.Special.Sweden;
|
||||
using Swarmops.Logic.Special.Sweden;
|
||||
using Swarmops.Logic.Support;
|
||||
using Swarmops.Utility;
|
||||
using Swarmops.Utility.BotCode;
|
||||
using Swarmops.Utility.Financial;
|
||||
using Swarmops.Utility.Mail;
|
||||
using Swarmops.Utility.Special;
|
||||
using Swarmops.Utility.Special.Sweden;
|
||||
|
||||
namespace Activizr.Backend
|
||||
namespace Swarmops.Backend
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
@@ -60,7 +61,7 @@ namespace Activizr.Backend
|
||||
OnMidnight();
|
||||
|
||||
Console.Write("\r\nAll tests run. Waiting for mail queue to flush... ");
|
||||
while (!Activizr.Utility.Mail.MailTransmitter.CanExit)
|
||||
while (!MailTransmitter.CanExit)
|
||||
{
|
||||
System.Threading.Thread.Sleep(50);
|
||||
}
|
||||
@@ -110,7 +111,7 @@ namespace Activizr.Backend
|
||||
|
||||
Console.Write("\r\nWaiting for mail queue to flush... ");
|
||||
|
||||
while (!Activizr.Utility.Mail.MailTransmitter.CanExit)
|
||||
while (!MailTransmitter.CanExit)
|
||||
{
|
||||
System.Threading.Thread.Sleep(50);
|
||||
}
|
||||
@@ -154,7 +155,7 @@ namespace Activizr.Backend
|
||||
|
||||
BotLog.Write(0, "MainCycle", "BOT STARTING, sending botstart notices");
|
||||
|
||||
Activizr.Utility.Mail.MailTransmitter statusMail = new Activizr.Utility.Mail.MailTransmitter
|
||||
MailTransmitter statusMail = new MailTransmitter
|
||||
("PirateWeb-L", "noreply@pirateweb.net", "PirateBot-L starting", string.Empty, Person.FromIdentity(1));
|
||||
statusMail.Send();
|
||||
|
||||
@@ -241,13 +242,13 @@ namespace Activizr.Backend
|
||||
ExceptionMail.Send(new Exception("HeartBeater triggered restart of MonoBot. Will commence after 800 seconds."), false);
|
||||
}
|
||||
|
||||
statusMail = new Activizr.Utility.Mail.MailTransmitter
|
||||
statusMail = new MailTransmitter
|
||||
("PirateWeb-L", "noreply@pirateweb.net", "PirateBot-L exiting", string.Empty, Person.FromIdentity(1));
|
||||
statusMail.Send();
|
||||
|
||||
BotLog.Write(0, "MainCycle", "...done");
|
||||
|
||||
while (!Activizr.Utility.Mail.MailTransmitter.CanExit)
|
||||
while (!MailTransmitter.CanExit)
|
||||
{
|
||||
System.Threading.Thread.Sleep(50);
|
||||
}
|
||||
@@ -264,7 +265,7 @@ namespace Activizr.Backend
|
||||
try
|
||||
{
|
||||
TestTrace("Running EventProcessor.Run()...");
|
||||
Activizr.Utility.BotCode.EventProcessor.Run();
|
||||
EventProcessor.Run();
|
||||
TestTrace(" done.\r\n");
|
||||
}
|
||||
catch (Exception e)
|
||||
@@ -403,7 +404,7 @@ namespace Activizr.Backend
|
||||
{
|
||||
TestTrace("Running SupportMailReview.Run()...");
|
||||
BotLog.Write(1, "FiveMinute", "Running support mail review");
|
||||
Activizr.Utility.Special.Sweden.SupportMailReview.Run();
|
||||
SupportMailReview.Run();
|
||||
TestTrace(" done.\r\n");
|
||||
}
|
||||
catch (Exception e)
|
||||
@@ -660,7 +661,7 @@ namespace Activizr.Backend
|
||||
try
|
||||
{
|
||||
TestTrace("Running SupportMailReview.Run()...");
|
||||
Activizr.Utility.Special.Sweden.SupportMailReview.Run();
|
||||
SupportMailReview.Run();
|
||||
TestTrace(" done.\r\n");
|
||||
}
|
||||
catch (Exception e)
|
||||
@@ -714,7 +715,7 @@ namespace Activizr.Backend
|
||||
{
|
||||
try
|
||||
{
|
||||
string newUrl = Activizr.Utility.Special.UrlTranslator.Translate(url);
|
||||
string newUrl = UrlTranslator.Translate(url);
|
||||
UrlTranslations.Set(url, newUrl);
|
||||
}
|
||||
catch (Exception e)
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Basic.Interfaces;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Basic.Interfaces;
|
||||
|
||||
namespace Activizr.Basic.Types.Communications
|
||||
namespace Swarmops.Basic.Types.Communications
|
||||
{
|
||||
public class BasicAutoMail : IHasIdentity
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using Activizr.Basic.Interfaces;
|
||||
using Swarmops.Basic.Interfaces;
|
||||
|
||||
namespace Activizr.Basic.Types.Financial
|
||||
namespace Swarmops.Basic.Types.Financial
|
||||
{
|
||||
[Serializable]
|
||||
public class BasicCashAdvance: IHasIdentity
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Basic.Interfaces;
|
||||
using Swarmops.Basic.Interfaces;
|
||||
|
||||
namespace Activizr.Basic.Types.Governance
|
||||
namespace Swarmops.Basic.Types.Governance
|
||||
{
|
||||
public class BasicMeeting: IHasIdentity
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Basic.Interfaces;
|
||||
using Swarmops.Basic.Interfaces;
|
||||
|
||||
namespace Activizr.Basic.Types.Governance
|
||||
namespace Swarmops.Basic.Types.Governance
|
||||
{
|
||||
public class BasicMotion: IHasIdentity
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Basic.Interfaces;
|
||||
using Swarmops.Basic.Interfaces;
|
||||
|
||||
namespace Activizr.Basic.Types.Governance
|
||||
namespace Swarmops.Basic.Types.Governance
|
||||
{
|
||||
public class BasicMotionAmendment: IHasIdentity
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Activizr.Basic.Types.Security
|
||||
namespace Swarmops.Basic.Types.Security
|
||||
{
|
||||
/// <summary>
|
||||
/// Container of a person's authority within PirateWeb.
|
||||
|
||||
+17
-16
@@ -8,27 +8,28 @@ using System.Text.RegularExpressions;
|
||||
using System.IO;
|
||||
using System.Web;
|
||||
using System.Web.Mail;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Basic.Types;
|
||||
using Activizr.Database;
|
||||
using Activizr.Utility.BotCode;
|
||||
using Activizr.Utility.Mail;
|
||||
using Activizr.Utility.Special.Sweden;
|
||||
using Activizr.Basic;
|
||||
using Activizr.Logic.Governance;
|
||||
using Activizr.Logic.Financial;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Structure;
|
||||
using Activizr.Logic.Support;
|
||||
using Activizr.Utility;
|
||||
using Activizr.Utility.Server;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Basic;
|
||||
using Swarmops.Logic.Financial;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Structure;
|
||||
using Swarmops.Utility;
|
||||
using Swarmops.Utility.Server;
|
||||
using Swarmops.Basic.Types;
|
||||
using Swarmops.Database;
|
||||
using Swarmops.Logic.Governance;
|
||||
using Swarmops.Logic.Special.Sweden;
|
||||
using Swarmops.Logic.Support;
|
||||
using Swarmops.Utility.BotCode;
|
||||
using Swarmops.Utility.Mail;
|
||||
using Swarmops.Utility.Special.Sweden;
|
||||
|
||||
/*
|
||||
using ceTe.DynamicPDF;
|
||||
using ceTe.DynamicPDF.PageElements;
|
||||
*/
|
||||
|
||||
namespace Activizr
|
||||
namespace Swarmops
|
||||
{
|
||||
/// <summary>
|
||||
/// This class is solely used for one-off operations, like tests or one-time imports, that run
|
||||
@@ -768,7 +769,7 @@ namespace Activizr
|
||||
|
||||
private static void ValidatePoll (int pollId, Geography geography, DateTime cutoffMembershipDate)
|
||||
{
|
||||
Dictionary<string, People> result = Activizr.Logic.Special.Sweden.SwedishForumDatabase.GetDatabase().GetPollVotes (pollId);
|
||||
Dictionary<string, People> result = SwedishForumDatabase.GetDatabase().GetPollVotes (pollId);
|
||||
|
||||
foreach (string pollAlternative in result.Keys)
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.IO;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
|
||||
namespace Activizr
|
||||
namespace Swarmops
|
||||
{
|
||||
public class DotNetChartingCrack
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System;
|
||||
using System.Web;
|
||||
using System.Web.Services;
|
||||
using System.Web.Services.Protocols;
|
||||
using Activizr.Logic.Structure;
|
||||
using Swarmops.Logic.Structure;
|
||||
|
||||
[WebService(Namespace = "http://activizr.com/")]
|
||||
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="LanguageSelector.ascx.cs" Inherits="Activizr.Controls.Base.LanguageSelector" %>
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="LanguageSelector.ascx.cs" Inherits="Swarmops.Controls.Base.LanguageSelector" %>
|
||||
|
||||
<div style="margin:10px; margin-top:6px">
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Activizr.Controls.Base
|
||||
namespace Swarmops.Controls.Base
|
||||
{
|
||||
|
||||
public partial class LanguageSelector : System.Web.UI.UserControl
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ComboPerson.ascx.cs" Inherits="Activizr.Controls.Pirates.ComboPerson" %>
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ComboPerson.ascx.cs" Inherits="Swarmops.Controls.Pirates.ComboPerson" %>
|
||||
|
||||
<telerik:RadComboBox runat="server" ID="ComboControl" Width="200px" Skin="WebBlue"
|
||||
EnableLoadOnDemand="True" ShowMoreResultsBox="true"
|
||||
|
||||
@@ -8,14 +8,14 @@ using System.Web.UI;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using Activizr.Basic.Types;
|
||||
using Activizr.Interface;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Security;
|
||||
using Activizr.Logic.Structure;
|
||||
using Swarmops.Basic.Types;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Security;
|
||||
using Swarmops.Logic.Structure;
|
||||
using Swarmops.Interface;
|
||||
using Telerik.Web.UI;
|
||||
|
||||
namespace Activizr.Controls.Pirates
|
||||
namespace Swarmops.Controls.Pirates
|
||||
{
|
||||
|
||||
public partial class ComboPerson : ControlV5Base
|
||||
|
||||
@@ -8,9 +8,9 @@ using System.Web.UI;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using Activizr.Logic.Financial;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Security;
|
||||
using Swarmops.Logic.Financial;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Security;
|
||||
using Telerik.Web.UI;
|
||||
|
||||
|
||||
|
||||
@@ -5,10 +5,10 @@ using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Activizr.Logic.Financial;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Security;
|
||||
using Activizr.Logic.Structure;
|
||||
using Swarmops.Logic.Financial;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Security;
|
||||
using Swarmops.Logic.Structure;
|
||||
|
||||
public partial class Pages_v5_Finance_Json_ExpensableBudgetsTree : System.Web.UI.Page
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Activizr.Logic.Financial;
|
||||
using Swarmops.Logic.Financial;
|
||||
|
||||
public partial class Pages_v5_Finance_RequestCashAdvance : PageV5Base
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" AutoEventWireup="true" CodeFile="AddMotion.aspx.cs" Inherits="Activizr.Pages.Governance.AddMotion" %>
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" AutoEventWireup="true" CodeFile="AddMotion.aspx.cs" Inherits="Swarmops.Pages.Governance.AddMotion" %>
|
||||
|
||||
<%@ Register src="~/Controls/v5/Pirates/ComboPerson.ascx" tagname="ComboPerson" tagprefix="act5" %>
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@ using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Activizr.Logic.Governance;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Governance;
|
||||
|
||||
namespace Activizr.Pages.Governance
|
||||
namespace Swarmops.Pages.Governance
|
||||
{
|
||||
|
||||
public partial class AddMotion : PageV5Base
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" AutoEventWireup="true" CodeFile="AddMotionAmendment.aspx.cs" Inherits="Activizr.Pages.Governance.AddMotionAmendment" %>
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" AutoEventWireup="true" CodeFile="AddMotionAmendment.aspx.cs" Inherits="Swarmops.Pages.Governance.AddMotionAmendment" %>
|
||||
<%@ Register src="~/Controls/v5/Pirates/ComboPerson.ascx" tagname="ComboPerson" tagprefix="act5" %>
|
||||
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@ using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Activizr.Logic.Governance;
|
||||
using Swarmops.Logic.Governance;
|
||||
|
||||
namespace Activizr.Pages.Governance
|
||||
namespace Swarmops.Pages.Governance
|
||||
{
|
||||
public partial class AddMotionAmendment : PageV5Base
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" AutoEventWireup="true" CodeFile="ListMotions.aspx.cs" Inherits="Activizr.Pages.Governance.ListMotions" %>
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" AutoEventWireup="true" CodeFile="ListMotions.aspx.cs" Inherits="Swarmops.Pages.Governance.ListMotions" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderHead" Runat="Server">
|
||||
</asp:Content>
|
||||
|
||||
@@ -3,10 +3,10 @@ using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Activizr.Logic.Governance;
|
||||
using Swarmops.Logic.Governance;
|
||||
using Telerik.Web.UI;
|
||||
|
||||
namespace Activizr.Pages.Governance
|
||||
namespace Swarmops.Pages.Governance
|
||||
{
|
||||
public partial class ListMotions : PageV5Base
|
||||
{
|
||||
@@ -33,7 +33,7 @@ namespace Activizr.Pages.Governance
|
||||
this.GridMotions.DataBind();
|
||||
}
|
||||
|
||||
((Activizr.MasterV5) Master).LanguageChanged += new EventHandler(Master_LanguageChanged);
|
||||
((Swarmops.MasterV5) Master).LanguageChanged += new EventHandler(Master_LanguageChanged);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" AutoEventWireup="true" CodeFile="ViewMotion.aspx.cs" Inherits="Activizr.Pages.Governance.ViewMotion" %>
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" AutoEventWireup="true" CodeFile="ViewMotion.aspx.cs" Inherits="Swarmops.Pages.Governance.ViewMotion" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderHead" Runat="Server">
|
||||
</asp:Content>
|
||||
|
||||
@@ -3,9 +3,9 @@ using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Activizr.Logic.Governance;
|
||||
using Swarmops.Logic.Governance;
|
||||
|
||||
namespace Activizr.Pages.Governance
|
||||
namespace Swarmops.Pages.Governance
|
||||
{
|
||||
public partial class ViewMotion : PageV5Base
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" AutoEventWireup="true" CodeFile="Vote.aspx.cs" Inherits="Activizr.Pages.Governance.Vote" %>
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" AutoEventWireup="true" CodeFile="Vote.aspx.cs" Inherits="Swarmops.Pages.Governance.Vote" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderHead" Runat="Server">
|
||||
</asp:Content>
|
||||
|
||||
@@ -3,9 +3,9 @@ using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Activizr.Logic.Governance;
|
||||
using Swarmops.Logic.Governance;
|
||||
|
||||
namespace Activizr.Pages.Governance
|
||||
namespace Swarmops.Pages.Governance
|
||||
{
|
||||
|
||||
public partial class Vote : PageV5Base
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" EnableEventValidation="false" AutoEventWireup="true" CodeFile="VoteAmendments.aspx.cs" Inherits="Activizr.Pages.Governance.VoteAmendments" %>
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Master-v5.master" EnableEventValidation="false" AutoEventWireup="true" CodeFile="VoteAmendments.aspx.cs" Inherits="Swarmops.Pages.Governance.VoteAmendments" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderHead" Runat="Server">
|
||||
</asp:Content>
|
||||
|
||||
@@ -3,11 +3,11 @@ using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Activizr.Logic.Governance;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Governance;
|
||||
using Telerik.Web.UI;
|
||||
|
||||
namespace Activizr.Pages.Governance
|
||||
namespace Swarmops.Pages.Governance
|
||||
{
|
||||
public partial class VoteAmendments : PageV5Base
|
||||
{
|
||||
|
||||
@@ -12,13 +12,13 @@ using System.Web.Services.Protocols;
|
||||
using System.Web.SessionState;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Basic.Types;
|
||||
using Activizr.Site.Automation;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Basic.Types;
|
||||
using Swarmops.Site.Automation;
|
||||
using Telerik.Web.UI;
|
||||
|
||||
using Activizr.Database;
|
||||
using Country = Activizr.Logic.Structure.Country;
|
||||
using Swarmops.Database;
|
||||
using Country = Swarmops.Logic.Structure.Country;
|
||||
|
||||
public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
{
|
||||
@@ -292,11 +292,11 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
// Make sure we're uninitialized
|
||||
|
||||
bool organizationOneExists = false;
|
||||
Activizr.Logic.Structure.Organization organizationOne = null;
|
||||
Swarmops.Logic.Structure.Organization organizationOne = null;
|
||||
|
||||
try
|
||||
{
|
||||
organizationOne = Activizr.Logic.Structure.Organization.FromIdentity(1);
|
||||
organizationOne = Swarmops.Logic.Structure.Organization.FromIdentity(1);
|
||||
organizationOneExists = true;
|
||||
}
|
||||
catch (Exception)
|
||||
@@ -329,7 +329,7 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
|
||||
// Get the schema and initialize the database structures. Requires ADMIN access to database.
|
||||
|
||||
Activizr.Logic.Support.DatabaseMaintenance.FirstInitialization();
|
||||
Swarmops.Logic.Support.DatabaseMaintenance.FirstInitialization();
|
||||
|
||||
_initProgress = 5;
|
||||
_initMessage = "Getting list of countries from Activizr servers...";
|
||||
@@ -348,9 +348,9 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
|
||||
// Get the list of countries
|
||||
|
||||
Activizr.Site.Automation.GetGeographyData geoDataFetcher = new GetGeographyData();
|
||||
Swarmops.Site.Automation.GetGeographyData geoDataFetcher = new GetGeographyData();
|
||||
|
||||
Activizr.Site.Automation.Country[] countries = geoDataFetcher.GetCountries();
|
||||
Swarmops.Site.Automation.Country[] countries = geoDataFetcher.GetCountries();
|
||||
|
||||
_initProgress = 7;
|
||||
_initMessage = "Creating all countries on local server...";
|
||||
@@ -358,7 +358,7 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
|
||||
// Create all countries in our own database
|
||||
|
||||
foreach (Activizr.Site.Automation.Country country in countries)
|
||||
foreach (Swarmops.Site.Automation.Country country in countries)
|
||||
{
|
||||
countryIdTranslation[country.Code] = PirateDb.GetDatabaseForWriting().CreateCountry(country.Name,
|
||||
country.Code,
|
||||
@@ -373,7 +373,7 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
|
||||
List<string> initializableCountries = new List<string>();
|
||||
|
||||
foreach (Activizr.Site.Automation.Country country in countries)
|
||||
foreach (Swarmops.Site.Automation.Country country in countries)
|
||||
{
|
||||
if (country.GeographyId != 1)
|
||||
{
|
||||
@@ -393,7 +393,7 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
_initMessage = "Retrieving geography for " + countryCode + "...";
|
||||
Thread.Sleep(100);
|
||||
|
||||
Activizr.Site.Automation.Geography geography = geoDataFetcher.GetGeographyForCountry(countryCode);
|
||||
Swarmops.Site.Automation.Geography geography = geoDataFetcher.GetGeographyForCountry(countryCode);
|
||||
|
||||
_initProgress = 10 + (int) (countryCount*initStepPerCountry + initStepPerCountry/6);
|
||||
_initMessage = "Setting up geography for " + countryCode + "...";
|
||||
@@ -416,7 +416,7 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
|
||||
// Get the postal codes and cities
|
||||
|
||||
Activizr.Site.Automation.City[] cities = null;
|
||||
Swarmops.Site.Automation.City[] cities = null;
|
||||
|
||||
try
|
||||
{
|
||||
@@ -435,11 +435,11 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
_initMessage = "Retrieving postal codes for " + countryCode + "...";
|
||||
Thread.Sleep(100);
|
||||
|
||||
Activizr.Site.Automation.PostalCode[] postalCodes = geoDataFetcher.GetPostalCodesForCountry(countryCode);
|
||||
Swarmops.Site.Automation.PostalCode[] postalCodes = geoDataFetcher.GetPostalCodesForCountry(countryCode);
|
||||
|
||||
// Find which cities are actually used
|
||||
|
||||
foreach (Activizr.Site.Automation.PostalCode postalCode in postalCodes)
|
||||
foreach (Swarmops.Site.Automation.PostalCode postalCode in postalCodes)
|
||||
{
|
||||
cityIdsUsedLookup[postalCode.CityId] = true;
|
||||
}
|
||||
@@ -457,7 +457,7 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
StringBuilder sqlCityBuild = new StringBuilder("INSERT INTO Cities (CityName, GeographyId, CountryId, Comment) VALUES ", 65536);
|
||||
bool insertComma = false;
|
||||
|
||||
foreach (Activizr.Site.Automation.City city in cities)
|
||||
foreach (Swarmops.Site.Automation.City city in cities)
|
||||
{
|
||||
if (!geographyIdTranslation.ContainsKey(city.GeographyId))
|
||||
{
|
||||
@@ -493,7 +493,7 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
StringBuilder sqlBuild = new StringBuilder("INSERT INTO PostalCodes (PostalCode, CityId, CountryId) VALUES ", 65536);
|
||||
insertComma = false;
|
||||
|
||||
foreach (Activizr.Site.Automation.PostalCode postalCode in postalCodes)
|
||||
foreach (Swarmops.Site.Automation.PostalCode postalCode in postalCodes)
|
||||
{
|
||||
if (cityIdsUsedLookup[postalCode.CityId] == false)
|
||||
{
|
||||
@@ -525,9 +525,9 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
|
||||
// Create the sandbox
|
||||
|
||||
Activizr.Logic.Structure.Organization.Create(0, "Sandbox", "Sandbox", "Sandbox", "activizr.com", "Act",
|
||||
Swarmops.Logic.Structure.Organization.Create(0, "Sandbox", "Sandbox", "Sandbox", "activizr.com", "Act",
|
||||
rootGeographyId, true,
|
||||
true, 0).EnableEconomy(Activizr.Logic.Financial.Currency.FromCode("EUR"));
|
||||
true, 0).EnableEconomy(Swarmops.Logic.Financial.Currency.FromCode("EUR"));
|
||||
|
||||
_initProgress = 100;
|
||||
_initMessage = "Complete.";
|
||||
@@ -535,11 +535,11 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
Thread.Sleep(1000); // give some time for static var to stick and web interface to react before killing thread
|
||||
}
|
||||
|
||||
private static void InitDatabaseThreadCreateGeographyChildren(Activizr.Site.Automation.Geography[] children,
|
||||
private static void InitDatabaseThreadCreateGeographyChildren(Swarmops.Site.Automation.Geography[] children,
|
||||
int parentGeographyId,
|
||||
ref Dictionary<int, int> geographyIdTranslation)
|
||||
{
|
||||
foreach (Activizr.Site.Automation.Geography geography in children)
|
||||
foreach (Swarmops.Site.Automation.Geography geography in children)
|
||||
{
|
||||
int newGeographyId = PirateDb.GetDatabaseForWriting().CreateGeography(geography.Name, parentGeographyId);
|
||||
geographyIdTranslation[geography.GeographyId] = newGeographyId;
|
||||
@@ -632,12 +632,12 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
{
|
||||
// Make sure that no first person exists already, as a security measure
|
||||
|
||||
Activizr.Logic.Pirates.Person personOne = null;
|
||||
Swarmops.Logic.Pirates.Person personOne = null;
|
||||
bool personOneExists = false;
|
||||
|
||||
try
|
||||
{
|
||||
personOne = Activizr.Logic.Pirates.Person.FromIdentity(1);
|
||||
personOne = Swarmops.Logic.Pirates.Person.FromIdentity(1);
|
||||
if (System.Diagnostics.Debugger.IsAttached)
|
||||
{
|
||||
if (personOne.CityName != "Duckville" || personOne.Email != "noreply@example.com")
|
||||
@@ -665,7 +665,7 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
throw new InvalidOperationException("Cannot run initialization processes again when initialized.");
|
||||
}
|
||||
|
||||
Activizr.Logic.Pirates.Person newPerson = Activizr.Logic.Pirates.Person.Create(HttpUtility.UrlDecode(name), HttpUtility.UrlDecode(mail),
|
||||
Swarmops.Logic.Pirates.Person newPerson = Swarmops.Logic.Pirates.Person.Create(HttpUtility.UrlDecode(name), HttpUtility.UrlDecode(mail),
|
||||
HttpUtility.UrlDecode(password), string.Empty, string.Empty, string.Empty,
|
||||
string.Empty, string.Empty, DateTime.MinValue, PersonGender.Unknown);
|
||||
|
||||
@@ -684,7 +684,7 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
|
||||
return; // Probable hack attempt - fail silently
|
||||
}
|
||||
|
||||
Activizr.Logic.Pirates.Person expectedPersonOne = Activizr.Logic.Security.Authentication.Authenticate("1", this.TextFirstUserPassword1.Text);
|
||||
Swarmops.Logic.Pirates.Person expectedPersonOne = Swarmops.Logic.Security.Authentication.Authenticate("1", this.TextFirstUserPassword1.Text);
|
||||
|
||||
if (expectedPersonOne != null)
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" EnableViewState="true" Inherits="Activizr.Pages.Security.Login" %>
|
||||
<%@ Import Namespace="Activizr.Database" %>
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" EnableViewState="true" Inherits="Swarmops.Pages.Security.Login" %>
|
||||
<%@ Import Namespace="Swarmops.Database" %>
|
||||
<%@ Import Namespace="Telerik.Web.UI" %>
|
||||
<%@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" %>
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@ using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Activizr.Basic.Types;
|
||||
using Activizr.Database;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Basic.Types;
|
||||
using Swarmops.Database;
|
||||
|
||||
namespace Activizr.Pages.Security
|
||||
namespace Swarmops.Pages.Security
|
||||
{
|
||||
public partial class Login : System.Web.UI.Page
|
||||
{
|
||||
@@ -51,7 +51,7 @@ namespace Activizr.Pages.Security
|
||||
{
|
||||
try
|
||||
{
|
||||
BasicPerson authenticatedPerson = Activizr.Logic.Security.Authentication.Authenticate(loginToken, password);
|
||||
BasicPerson authenticatedPerson = Swarmops.Logic.Security.Authentication.Authenticate(loginToken, password);
|
||||
Person p = Person.FromIdentity(authenticatedPerson.PersonId);
|
||||
|
||||
if (p.PreferredCulture != Thread.CurrentThread.CurrentCulture.Name)
|
||||
|
||||
@@ -3,8 +3,8 @@ using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Logic.Financial;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Financial;
|
||||
|
||||
public partial class Tests_TestBookkeepingIntegrity : PageV5Base
|
||||
{
|
||||
|
||||
@@ -4,11 +4,11 @@ using System.Configuration;
|
||||
using System.Net.Mail;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Structure;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Structure;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class ActivityMailer
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Activizr.Utility.BotCode.App_LocalResources {
|
||||
namespace Swarmops.Utility.BotCode.App_LocalResources {
|
||||
using System;
|
||||
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Logic.Governance;
|
||||
using Activizr.Logic.Structure;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Structure;
|
||||
using Swarmops.Logic.Governance;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class BallotComposer
|
||||
{
|
||||
|
||||
@@ -4,10 +4,10 @@ using System.IO;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Net;
|
||||
using Activizr.Database;
|
||||
using Activizr.Logic;
|
||||
using Swarmops.Logic;
|
||||
using Swarmops.Database;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class BlogTop50Scraper
|
||||
{
|
||||
|
||||
@@ -2,14 +2,12 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Net;
|
||||
|
||||
using Activizr.Logic.Media;
|
||||
|
||||
using NRss;
|
||||
|
||||
using Activizr.Logic.Support;
|
||||
using Swarmops.Logic.Support;
|
||||
using Swarmops.Logic.Media;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class BlogWatcher
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class BotLog
|
||||
{
|
||||
|
||||
@@ -3,23 +3,23 @@ using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Net.Mail;
|
||||
using System.Text;
|
||||
using Activizr.Basic;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Basic.Types;
|
||||
using Activizr.Utility.Financial;
|
||||
using Activizr.Utility.Mail;
|
||||
using Activizr.Database;
|
||||
using Activizr.Logic.Communications;
|
||||
using Activizr.Logic.Governance;
|
||||
using Activizr.Logic.Financial;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Security;
|
||||
using Activizr.Logic.Special.Mail;
|
||||
using Activizr.Logic.Structure;
|
||||
using Activizr.Logic.Support;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Database;
|
||||
using Swarmops.Logic.Communications;
|
||||
using Swarmops.Logic.Financial;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Security;
|
||||
using Swarmops.Logic.Structure;
|
||||
using System.Threading;
|
||||
using Swarmops.Basic;
|
||||
using Swarmops.Basic.Types;
|
||||
using Swarmops.Logic.Governance;
|
||||
using Swarmops.Logic.Special.Mail;
|
||||
using Swarmops.Logic.Support;
|
||||
using Swarmops.Utility.Financial;
|
||||
using Swarmops.Utility.Mail;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class EventProcessor
|
||||
{
|
||||
@@ -1495,8 +1495,8 @@ namespace Activizr.Utility.BotCode
|
||||
|
||||
string password = Formatting.GeneratePassword(16);
|
||||
|
||||
Activizr.Logic.Special.Mail.MailServerDatabase.AddAccount(newAddress, password, 1024);
|
||||
Activizr.Logic.Special.Mail.MailServerDatabase.StartForwarding(oldAddress, newAddress);
|
||||
MailServerDatabase.AddAccount(newAddress, password, 1024);
|
||||
MailServerDatabase.StartForwarding(oldAddress, newAddress);
|
||||
|
||||
newMailPerson.PartyEmail = newAddress;
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
using Activizr.Logic.Support;
|
||||
using Swarmops.Logic.Support;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class HeartBeater
|
||||
{
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Logic.Governance;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Structure;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Structure;
|
||||
using Swarmops.Logic.Governance;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class InternalPollMaintenance
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Logic.Governance;
|
||||
using Swarmops.Logic.Governance;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class InternalPollRandomizer
|
||||
{
|
||||
|
||||
@@ -5,17 +5,17 @@ using System.IO;
|
||||
using System.Text;
|
||||
using System.Net.Mail;
|
||||
using System.Net.Mime;
|
||||
using Activizr.Basic;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Utility.Mail;
|
||||
using Activizr.Basic.Diagnostics;
|
||||
using Activizr.Logic.Communications;
|
||||
using Activizr.Logic.Media;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Support;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Basic.Diagnostics;
|
||||
using Swarmops.Logic.Communications;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using System.Threading;
|
||||
using Swarmops.Basic;
|
||||
using Swarmops.Logic.Media;
|
||||
using Swarmops.Logic.Support;
|
||||
using Swarmops.Utility.Mail;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class MailProcessor
|
||||
{
|
||||
@@ -62,14 +62,14 @@ namespace Activizr.Utility.BotCode
|
||||
}
|
||||
#endregion
|
||||
|
||||
static Activizr.Logic.Support.QuotedPrintable qpUTF8 = new Activizr.Logic.Support.QuotedPrintable(Encoding.UTF8);
|
||||
static Activizr.Logic.Support.QuotedPrintable qp8859 = new Activizr.Logic.Support.QuotedPrintable(Encoding.GetEncoding("ISO-8859-1"));
|
||||
static Dictionary<Encoding, Activizr.Logic.Support.QuotedPrintable> QuotedPrintableEncoder = InitQpDictionary();
|
||||
static QuotedPrintable qpUTF8 = new QuotedPrintable(Encoding.UTF8);
|
||||
static QuotedPrintable qp8859 = new QuotedPrintable(Encoding.GetEncoding("ISO-8859-1"));
|
||||
static Dictionary<Encoding, QuotedPrintable> QuotedPrintableEncoder = InitQpDictionary();
|
||||
|
||||
#region Static initialisation
|
||||
static private Dictionary<Encoding, Activizr.Logic.Support.QuotedPrintable> InitQpDictionary ()
|
||||
static private Dictionary<Encoding, QuotedPrintable> InitQpDictionary ()
|
||||
{
|
||||
Dictionary<Encoding, Activizr.Logic.Support.QuotedPrintable> qp = new Dictionary<Encoding, Activizr.Logic.Support.QuotedPrintable>();
|
||||
Dictionary<Encoding, QuotedPrintable> qp = new Dictionary<Encoding, QuotedPrintable>();
|
||||
qp[Encoding.UTF8] = qpUTF8;
|
||||
qp[Encoding.GetEncoding("ISO-8859-1")] = qp8859;
|
||||
return qp;
|
||||
@@ -375,7 +375,7 @@ namespace Activizr.Utility.BotCode
|
||||
else
|
||||
currentEncoding = Encoding.UTF8;
|
||||
|
||||
Activizr.Logic.Support.QuotedPrintable qp = QuotedPrintableEncoder[currentEncoding];
|
||||
QuotedPrintable qp = QuotedPrintableEncoder[currentEncoding];
|
||||
|
||||
|
||||
MailMessage message = new MailMessage();
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Logic.Communications;
|
||||
using Activizr.Utility.Mail;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Structure;
|
||||
using Activizr.Logic.Support;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Communications;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Structure;
|
||||
using Swarmops.Logic.Support;
|
||||
using Swarmops.Utility.Mail;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class MailResolver
|
||||
{
|
||||
|
||||
@@ -4,13 +4,13 @@ using System.IO;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Structure;
|
||||
using Activizr.Logic.Support;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Structure;
|
||||
using Swarmops.Logic.Support;
|
||||
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class Mappery
|
||||
{
|
||||
|
||||
@@ -2,12 +2,10 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Net;
|
||||
|
||||
using Activizr.Logic.Media;
|
||||
|
||||
using NRss;
|
||||
using Swarmops.Logic.Media;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class MediaWatcher
|
||||
{
|
||||
|
||||
@@ -2,18 +2,17 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Structure;
|
||||
using Activizr.Logic.Support;
|
||||
using Activizr.Utility.Mail;
|
||||
using Activizr.Utility.Special.Sweden;
|
||||
using Activizr.Logic.Special.Sweden;
|
||||
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Structure;
|
||||
using Swarmops.Utility.Mail;
|
||||
using Swarmops.Utility.Special.Sweden;
|
||||
using NRss;
|
||||
using Activizr.Logic.Communications;
|
||||
using Swarmops.Logic.Communications;
|
||||
using Swarmops.Logic.Special.Sweden;
|
||||
using Swarmops.Logic.Support;
|
||||
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class NewsletterChecker
|
||||
{
|
||||
|
||||
@@ -2,18 +2,18 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Net;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Logic.Media;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Support;
|
||||
using Activizr.Utility.Mail;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Utility.Mail;
|
||||
|
||||
using NRss;
|
||||
using Activizr.Logic.Communications;
|
||||
using Activizr.Logic.Structure;
|
||||
using Swarmops.Logic.Communications;
|
||||
using Swarmops.Logic.Structure;
|
||||
using Swarmops.Logic.Media;
|
||||
using Swarmops.Logic.Support;
|
||||
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class PressReleaseChecker
|
||||
{
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Basic;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Basic.Types;
|
||||
using Activizr.Database;
|
||||
using Activizr.Utility.Mail;
|
||||
using Activizr.Logic.Communications;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Security;
|
||||
using Activizr.Logic.Structure;
|
||||
using Activizr.Logic.Support;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Communications;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Security;
|
||||
using Swarmops.Logic.Structure;
|
||||
using System.Diagnostics;
|
||||
using Swarmops.Basic;
|
||||
using Swarmops.Basic.Types;
|
||||
using Swarmops.Database;
|
||||
using Swarmops.Logic.Support;
|
||||
using Swarmops.Utility.Mail;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class RosterHousekeeping
|
||||
{
|
||||
|
||||
@@ -2,11 +2,11 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Logic.Financial;
|
||||
using Activizr.Logic.Support;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Financial;
|
||||
using Swarmops.Logic.Support;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class SalaryProcessor
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Logic.Governance;
|
||||
using Swarmops.Logic.Governance;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
/// <summary>
|
||||
/// This class computes a Condorcet/Single-Transferable-Vote result according to the Schulze Method.
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Database;
|
||||
using Activizr.Logic.Communications;
|
||||
using Activizr.Logic.Special.Sweden;
|
||||
using Activizr.Logic.Structure;
|
||||
using Activizr.Logic.Support;
|
||||
using Activizr.Utility.Special.Sweden;
|
||||
using Swarmops.Logic.Communications;
|
||||
using Swarmops.Logic.Structure;
|
||||
using Swarmops.Utility.Special.Sweden;
|
||||
using Swarmops.Database;
|
||||
using Swarmops.Logic.Special.Sweden;
|
||||
using Swarmops.Logic.Support;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class TurnaroundTracker
|
||||
{
|
||||
|
||||
@@ -3,12 +3,12 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Logic.Special.Sweden;
|
||||
using Activizr.Logic.Structure;
|
||||
using Activizr.Logic.Support;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Special.Sweden;
|
||||
using Swarmops.Logic.Structure;
|
||||
using Swarmops.Logic.Support;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
namespace Swarmops.Utility.BotCode
|
||||
{
|
||||
public class UpdateStatsCache
|
||||
{
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Basic;
|
||||
using Activizr.Database;
|
||||
using Activizr.Utility.Mail;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Basic;
|
||||
using Swarmops.Database;
|
||||
using Swarmops.Utility.Mail;
|
||||
|
||||
namespace Activizr.Utility
|
||||
namespace Swarmops.Utility
|
||||
{
|
||||
public class ExceptionMail
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Logic.Financial;
|
||||
using Activizr.Logic.Structure;
|
||||
using Swarmops.Logic.Financial;
|
||||
using Swarmops.Logic.Structure;
|
||||
|
||||
namespace Activizr.Utility.Financial
|
||||
namespace Swarmops.Utility.Financial
|
||||
{
|
||||
public class PaymentGroupMapper
|
||||
{
|
||||
|
||||
@@ -2,13 +2,13 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Logic.Financial;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Security;
|
||||
using Activizr.Logic.Structure;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Financial;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Security;
|
||||
using Swarmops.Logic.Structure;
|
||||
|
||||
namespace Activizr.Utility.Financial
|
||||
namespace Swarmops.Utility.Financial
|
||||
{
|
||||
public class PaypalImporter
|
||||
{
|
||||
|
||||
@@ -4,13 +4,13 @@ using System.Globalization;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Web;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Logic.Financial;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Security;
|
||||
using Activizr.Logic.Structure;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Financial;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Security;
|
||||
using Swarmops.Logic.Structure;
|
||||
|
||||
namespace Activizr.Utility.Financial
|
||||
namespace Swarmops.Utility.Financial
|
||||
{
|
||||
public class PaysonImporter
|
||||
{
|
||||
|
||||
@@ -3,12 +3,12 @@ using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Net;
|
||||
using System.Net.Mail;
|
||||
using Activizr.Basic;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Support;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Basic;
|
||||
using Swarmops.Logic.Support;
|
||||
|
||||
namespace Activizr.Utility.Mail
|
||||
namespace Swarmops.Utility.Mail
|
||||
{
|
||||
public class MailTransmitter
|
||||
{
|
||||
|
||||
@@ -2,9 +2,9 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
using Activizr.Logic.Pirates;
|
||||
using Swarmops.Logic.Pirates;
|
||||
|
||||
namespace Activizr.Utility.Mail
|
||||
namespace Swarmops.Utility.Mail
|
||||
{
|
||||
public class Newsletter
|
||||
{
|
||||
|
||||
@@ -7,11 +7,11 @@ using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Web;
|
||||
|
||||
using Activizr.Basic.Types;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Support;
|
||||
using Swarmops.Basic.Types;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Support;
|
||||
|
||||
namespace Activizr.Utility.Mail
|
||||
namespace Swarmops.Utility.Mail
|
||||
{
|
||||
public class NewsletterTransmitter2
|
||||
{
|
||||
|
||||
@@ -6,12 +6,12 @@ using System.Net.Mime;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Web;
|
||||
using Activizr.Basic;
|
||||
using Activizr.Basic.Types;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Support;
|
||||
using Swarmops.Basic.Types;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Basic;
|
||||
using Swarmops.Logic.Support;
|
||||
|
||||
namespace Activizr.Utility.Mail
|
||||
namespace Swarmops.Utility.Mail
|
||||
{
|
||||
public class NewsletterTransmitter3
|
||||
{
|
||||
|
||||
@@ -6,12 +6,12 @@ using System.Net.Mime;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Web;
|
||||
using Activizr.Basic;
|
||||
using Activizr.Basic.Types;
|
||||
using Activizr.Logic.Media;
|
||||
using Swarmops.Basic.Types;
|
||||
using Swarmops.Basic;
|
||||
using Swarmops.Logic.Media;
|
||||
|
||||
|
||||
namespace Activizr.Utility.Mail
|
||||
namespace Swarmops.Utility.Mail
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -3,11 +3,11 @@ using System.Collections.Generic;
|
||||
using System.Data.Common;
|
||||
using System.Data.SqlClient;
|
||||
using System.Text;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Database;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Database;
|
||||
|
||||
namespace Activizr.Utility.Migrations
|
||||
namespace Swarmops.Utility.Migrations
|
||||
{
|
||||
public class PeopleOptionalData
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
|
||||
namespace Activizr.Utility.Server
|
||||
namespace Swarmops.Utility.Server
|
||||
{
|
||||
public class ActiveDirectoryCode
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.DirectoryServices;
|
||||
|
||||
//using CDOEXM;
|
||||
|
||||
namespace Activizr.Utility.Server
|
||||
namespace Swarmops.Utility.Server
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for ExchangeCode.
|
||||
|
||||
@@ -3,12 +3,12 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Net.Mail;
|
||||
using System.Text;
|
||||
using Activizr.Basic;
|
||||
using Activizr.Logic.Special.Sweden;
|
||||
using Activizr.Logic.Support;
|
||||
using Activizr.Utility.Mail;
|
||||
using Swarmops.Utility.Mail;
|
||||
using Swarmops.Basic;
|
||||
using Swarmops.Logic.Special.Sweden;
|
||||
using Swarmops.Logic.Support;
|
||||
|
||||
namespace Activizr.Utility.Special.Sweden
|
||||
namespace Swarmops.Utility.Special.Sweden
|
||||
{
|
||||
public class SupportMailReview
|
||||
{
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Utility.BotCode;
|
||||
using Activizr.Basic.Enums;
|
||||
using Activizr.Logic.Pirates;
|
||||
using Activizr.Logic.Special.Sweden;
|
||||
using Activizr.Logic.Structure;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Logic.Pirates;
|
||||
using Swarmops.Logic.Structure;
|
||||
using Swarmops.Logic.Special.Sweden;
|
||||
using Swarmops.Utility.BotCode;
|
||||
|
||||
namespace Activizr.Utility.Special.Sweden
|
||||
namespace Swarmops.Utility.Special.Sweden
|
||||
{
|
||||
public class SwedishForumMemberCheck
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.IO;
|
||||
using System.Text;
|
||||
using System.Net;
|
||||
|
||||
namespace Activizr.Utility.Special
|
||||
namespace Swarmops.Utility.Special
|
||||
{
|
||||
public class UrlTranslator
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user