Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BExIS++.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2176,8 +2176,8 @@ Global
{0E5F4B53-398A-4634-9921-03B9CACBE8E0} = {B3E28333-80F7-4853-9DAE-253D8E8454C5}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {9B6E4921-8EBA-487D-A098-3E473A0EAC64}
EnterpriseLibraryConfigurationToolBinariesPath = packages\Unity.2.1.505.0\lib\NET35;packages\Unity.2.1.505.2\lib\NET35
SolutionGuid = {9B6E4921-8EBA-487D-A098-3E473A0EAC64}
EndGlobalSection
GlobalSection(SubversionScc) = preSolution
Svn-Managed = True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
using Newtonsoft.Json;
using System.IO;
using System.Web.Mvc;
using System.Web.SessionState;
using Vaiona.Utils.Cfg;


namespace BExIS.Modules.Dcm.UI.Controllers
{

[SessionState(SessionStateBehavior.ReadOnly)]
public class ComponentConfigController : Controller
{
public ActionResult Index(long id = 0)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Attributes;
using BExIS.Dim.Entities.Mappings;
using BExIS.Dim.Helpers.Mappings;
using BExIS.Dim.Services.Mappings;
Expand Down Expand Up @@ -29,9 +29,11 @@
using System.Xml.XPath;
using Vaiona.Entities.Common;
using BExIS.Utils.Config;
using System.Web.SessionState;

namespace BExIS.Modules.Dcm.UI.Controllers
{
[SessionState(SessionStateBehavior.ReadOnly)]
public class CreateController : Controller
{
private readonly GroupManager _groupManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using System.Web.SessionState;

namespace BExIS.Modules.Dcm.UI.Controllers
{
{
[SessionState(SessionStateBehavior.ReadOnly)]
public class EditController : Controller
{
// GET: Edit

[BExISEntityAuthorize(typeof(Dataset), "id", RightType.Write)]
public ActionResult Index(long id, int version = 0)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.SessionState;
using Telerik.Web.Mvc.Extensions;
using Vaiona.Web.Extensions;

namespace BExIS.Modules.Dcm.UI.Controllers
{

[SessionState(SessionStateBehavior.ReadOnly)]
public class EntityTemplatesController : Controller
{
private readonly GroupManager _groupManager;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Helpers;
using BExIS.Dlm.Entities.Data;
using BExIS.Dlm.Services.Data;
Expand All @@ -22,6 +22,7 @@
using System.Net.Mail;
using System.Web;
using System.Web.Mvc;
using System.Web.SessionState;
using Vaiona.Entities.Common;
using Vaiona.Utils.Cfg;
using Vaiona.Web.Extensions;
Expand All @@ -31,6 +32,7 @@

namespace BExIS.Modules.Dcm.UI.Controllers
{
[SessionState(SessionStateBehavior.ReadOnly)]
public class AttachmentUploadController : Controller
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Helpers;
using BExIS.Dlm.Services.Data;
using BExIS.Modules.Dcm.UI.Hooks;
Expand All @@ -12,12 +12,14 @@
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.SessionState;
using Telerik.Web.Mvc.Infrastructure.Implementation;
using Vaiona.Utils.Cfg;
using Vaiona.Web.Mvc.Modularity;

namespace BExIS.Modules.Dcm.UI.Controllers
{
[SessionState(SessionStateBehavior.ReadOnly)]
public class DataController : Controller
{
// GET: Data
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Helpers;
using BExIS.Dlm.Services.Data;
using BExIS.Dlm.Services.DataStructure;
Expand All @@ -17,13 +17,15 @@
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.SessionState;
using Vaiona.Utils.Cfg;
using Vaiona.Web.Mvc.Modularity;

using Cache = BExIS.UI.Hooks.Caches;

namespace BExIS.Modules.Dcm.UI.Controllers
{
[SessionState(SessionStateBehavior.ReadOnly)]
public class DataDescriptionController : Controller
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Attributes;
using BExIS.Dlm.Entities.Data;
using BExIS.Dlm.Services.MetadataStructure;
using BExIS.Security.Entities.Authorization;
Expand All @@ -14,10 +14,12 @@
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.SessionState;
using Vaiona.Persistence.Api;

namespace BExIS.Modules.Dcm.UI.Controllers
{
[SessionState(SessionStateBehavior.ReadOnly)]
public class EntityReferenceController : Controller
{
private XmlDatasetHelper xmlDatasetHelper = new XmlDatasetHelper();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Helpers;
using BExIS.Dlm.Entities.DataStructure;
using BExIS.Dlm.Services.Data;
Expand All @@ -20,6 +20,7 @@
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using System.Web.SessionState;
using Vaiona.Utils.Cfg;
using Vaiona.Web.Extensions;
using Vaiona.Web.Mvc.Modularity;
Expand All @@ -28,6 +29,7 @@

namespace BExIS.Modules.Dcm.UI.Controllers
{
[SessionState(SessionStateBehavior.ReadOnly)]
public class FileUploadController : Controller
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Attributes;
using BExIS.Dlm.Entities.Data;
using BExIS.Modules.Dcm.UI.Models.Edit;
using BExIS.Security.Entities.Authorization;
using System;
using System.Web.Mvc;
using System.Web.SessionState;
using Vaiona.Web.Mvc.Modularity;

namespace BExIS.Modules.Dcm.UI.Controllers
{
[SessionState(SessionStateBehavior.ReadOnly)]
public class MetadataController : Controller
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Helpers;
using BExIS.Dlm.Entities.Data;
using BExIS.Modules.Dcm.UI.Helpers;
Expand All @@ -19,12 +19,14 @@
using System.Threading.Tasks;
using System.Web.Mvc;
using System.Web.Routing;
using System.Web.SessionState;
using Vaiona.Entities.Common;
using Vaiona.Web.Mvc;
using Vaiona.Web.Mvc.Modularity;

namespace BExIS.Modules.Dcm.UI.Controllers
{
[SessionState(SessionStateBehavior.ReadOnly)]
public class SubmitController : BaseController
{
private User _user;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Attributes;
using BExIS.App.Bootstrap.Helpers;
using BExIS.Dlm.Entities.Data;
using BExIS.Dlm.Entities.DataStructure;
Expand All @@ -21,12 +21,14 @@
using System.IO;
using System.Linq;
using System.Web.Mvc;
using System.Web.SessionState;
using Telerik.Web.Mvc.Extensions;
using Vaiona.Utils.Cfg;
using Vaiona.Web.Mvc.Modularity;

namespace BExIS.Modules.Dcm.UI.Controllers
{
[SessionState(SessionStateBehavior.ReadOnly)]
public class ValidationController : Controller
{
private FileStream Stream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@
using System.Linq;
using System.Web.Mvc;
using System.Web.Routing;
using System.Web.SessionState;
using Telerik.Web.Mvc.Extensions;
using Vaiona.Web.Mvc;
using Vaiona.Web.Mvc.Modularity;


namespace BExIS.Modules.Ddm.UI.Controllers
{
[SessionState(SessionStateBehavior.ReadOnly)]
public class TagInfoController : BaseController
{
private readonly UserManager _userManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@
using System.Data;
using System.Linq;
using System.Web.Mvc;
using System.Web.SessionState;
using System.Web.UI.WebControls;

namespace BExIS.Modules.Rpm.UI.Controllers
{
[SessionState(SessionStateBehavior.ReadOnly)]
public class ConstraintsController : Controller
{
private readonly UserManager _userManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,16 @@
using System.Text;
using System.Web;
using System.Web.Mvc;
using System.Web.SessionState;
using System.Web.UI.HtmlControls;
using Vaiona.Utils.Cfg;
using Vaiona.Web.Mvc.Data;
using Vaiona.Web.Mvc.Modularity;

namespace BExIS.Modules.Rpm.UI.Controllers
{

[SessionState(SessionStateBehavior.ReadOnly)]
public class DataStructureController : Controller
{
public ActionResult Index()
Expand Down Expand Up @@ -804,7 +807,7 @@ public JsonResult GetVariableTemplates()
{
foreach (var variableTemplate in variableTemplates.Where(t => t.Approved))
{
list.Add(_helper.ConvertTo(variableTemplate, "other"));
list.Add(_helper.ConvertTo(variableTemplate, unitManager, "other"));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.SessionState;

namespace BExIS.Modules.Rpm.UI.Controllers
{
[SessionState(SessionStateBehavior.ReadOnly)]
public class DataTypeController : Controller
{
public ActionResult Index()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.SessionState;

namespace BExIS.Modules.Rpm.UI.Controllers
{

[SessionState(SessionStateBehavior.ReadOnly)]
public class DimensionController : Controller
{
public ActionResult Index()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.SessionState;

namespace BExIS.Modules.Rpm.UI.Controllers
{

[SessionState(SessionStateBehavior.ReadOnly)]
public class ExternalLinkController : Controller
{
// GET: ExternalLink
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.SessionState;
using Vaiona.Utils.Cfg;
using Vaiona.Web.Mvc.Data;
using BExIS.UI.Models;
Expand All @@ -19,6 +20,8 @@

namespace BExIS.Modules.Rpm.UI.Controllers
{

[SessionState(SessionStateBehavior.ReadOnly)]
public class FileController : Controller
{
// GET: File
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.SessionState;

namespace BExIS.Modules.Rpm.UI.Controllers
{

[SessionState(SessionStateBehavior.ReadOnly)]
public class MeaningController : Controller
{
// GET: Meanings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
using System.Net;
using System.Web.Http;
using System.Web.Http.Description;
using System.Web.SessionState;
using Vaiona.Persistence.Api;

namespace BExIS.Modules.Rpm.UI.Controllers
{
[System.Web.Mvc.SessionState(SessionStateBehavior.ReadOnly)]
public class StructuresController : ApiController
{
// GET: api/Structures
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.SessionState;

namespace BExIS.Modules.Rpm.UI.Controllers
{

[SessionState(SessionStateBehavior.ReadOnly)]
public class UnitController : Controller
{
public ActionResult Index()
Expand Down
Loading
Loading