Skip to content

Commit 6f70fc2

Browse files
committed
Release for version 10.5.4
1 parent c37ca0a commit 6f70fc2

File tree

6 files changed

+32357
-0
lines changed

6 files changed

+32357
-0
lines changed

dist/SequentConfig-v10.5.4.js

Lines changed: 258 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,258 @@
1+
/**
2+
* This file is part of common-ui.
3+
* Copyright (C) 2015-2016 Sequent Tech Inc <[email protected]>
4+
5+
* common-ui is free software: you can redistribute it and/or modify
6+
* it under the terms of the GNU Affero General Public License as published by
7+
* the Free Software Foundation, either version 3 of the License.
8+
9+
* common-ui is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU Affero General Public License for more details.
13+
14+
* You should have received a copy of the GNU Affero General Public License
15+
* along with common-ui. If not, see <http://www.gnu.org/licenses/>.
16+
**/
17+
18+
/*
19+
* ConfigService is a function that returns the configuration that exists
20+
* in this same file, which you might want to edit and tune if needed.
21+
*/
22+
23+
var SEQUENT_CONFIG_VERSION = '10.5.4';
24+
25+
var SequentConfigData = {
26+
// the base url path for ajax requests, for example for sending ballots or
27+
// getting info about an election. This url is usually in the form of
28+
// 'https://foo/api/v3/' and always ends in '/'.
29+
base: '',
30+
theme: "default",
31+
baseUrl: "https://sequent/elections/api/",
32+
freeAuthId: 1,
33+
34+
// Webpage title
35+
webTitle: "Sequent Tech",
36+
37+
// Show 'Success Action' tab in admin sequent_ui
38+
showSuccessAction: false,
39+
40+
// Configurable Sign Up link
41+
signupLink: "/admin/signup",
42+
43+
// AuthApi base url
44+
authAPI: "https://sequent/iam/api/",
45+
dnieUrl: "https://sequent.dev/iam/api/authmethod/dnie/auth/",
46+
// Agora Elections base url
47+
electionsAPI: "https://sequent/elections/api/",
48+
49+
// Agora Admin help url
50+
helpUrl: "https://sequentech.io/help",
51+
52+
authorities: ['local-auth2'],
53+
director: "local-auth1",
54+
55+
// For admins:
56+
// Allow editing the json description of the election before creating it
57+
// Allowed values: true|false
58+
allowEditElectionJson: true,
59+
60+
// For admins:
61+
// Allow sending custom html in the email messages sent from the admin console.
62+
// Allowed values: true|false
63+
allowHtmlEmails: false,
64+
65+
// For admins:
66+
// Allow editing the election.presentation.theme_css so that any election
67+
// Admin can highly customize the election directly with CSS.
68+
// Allowed values: true|false
69+
allowCustomElectionThemeCss: false,
70+
71+
// show the documentation links after successfully casting a vote
72+
// allowed values: true| false
73+
showDocOnVoteCast: false,
74+
75+
resourceUrlWhitelist: [
76+
// Allow same origin resource loads.
77+
'self',
78+
79+
// Allow loading from our assets domain. Notice the difference between * and **.
80+
// Uncomment the following to allow youtube videos
81+
//
82+
// 'https://www.youtube.com/**',
83+
// 'https://youtube.com/**'
84+
],
85+
86+
// i18next language options, see http://i18next.com/pages/doc_init.html for
87+
// details
88+
i18nextInitOptions: {
89+
// Default language of the application.
90+
//
91+
// Default: 'en'
92+
//
93+
language: "es",
94+
95+
96+
// Forces a specific language.
97+
//
98+
// Default: not set
99+
//
100+
lng: "es",
101+
102+
103+
// specifies the set language query string.
104+
//
105+
// Default: "lang"
106+
//
107+
detectLngQS: 'lang',
108+
109+
110+
// Specifies what translations will be available.
111+
//
112+
// Default: ['en', 'es', 'gl', 'ca']
113+
//
114+
// lngWhitelist: ['en', 'es', 'gl', 'ca'],
115+
},
116+
117+
// specifies the language cookie options,
118+
// see https://github.com/ivpusic/angular-cookie#options
119+
i18nextCookieOptions: {
120+
// Expiration in days
121+
//
122+
// Default: 360
123+
//
124+
// expires: 360,
125+
126+
127+
// Cookie domain
128+
//
129+
// Default: not set
130+
//
131+
// domain: 'foobar',
132+
},
133+
134+
// configure $locationProvider.html5Mode
135+
// see https://code.angularjs.org/1.2.28/docs/guide/$location
136+
//
137+
// Default: false
138+
// locationHtml5mode: false,
139+
locationHtml5mode: true,
140+
141+
// If no Route is set, this is the route that will be loaded
142+
//
143+
// Default: '/admin/login'
144+
defaultRoute: '/admin/login',
145+
146+
publicURL: "https://sequent/elections/public/",
147+
148+
// if we are in debug mode or not
149+
debug: true,
150+
151+
// Information regarding OpenID Connect authentication
152+
openIDConnectProviders: [],
153+
154+
//Minimum loading time (milliseconds)
155+
minLoadingTime: 12000,
156+
157+
// Server timeout (seconds)
158+
serverTimeoutSeconds: 200,
159+
160+
// contact data where users can reach to a human when they need it
161+
contact: {
162+
// Support contact email displayed in the footer links
163+
164+
// Sales contact email displayed in the footer links
165+
166+
tlf: "-no tlf-"
167+
},
168+
169+
// social networks footer links
170+
social: {
171+
facebook: "https://www.facebook.com/AgoraVoting",
172+
twitter: "https://twitter.com/sequent",
173+
twitterHandle: "sequent",
174+
googleplus: "https://plus.google.com/101939665794445172389/posts",
175+
youtube: "https://www.youtube.com/results?search_query=Agora+Voting",
176+
github: "https://github.com/sequent/"
177+
},
178+
179+
// technology footer links
180+
technology: {
181+
aboutus: "https://sequentech.io/#aboutus",
182+
pricing: "https://sequentech.io/#pricing",
183+
overview: "https://sequentech.io/overview/",
184+
solutions: "https://sequentech.io/solutions/",
185+
documentation: "https://bit.ly/avguiadeuso"
186+
},
187+
188+
// legality footer links
189+
legal: {
190+
terms_of_service: "https://sequentech.io/tos/",
191+
cookies: "https://sequentech.io/cookies/",
192+
privacy: "https://sequentech.io/privacy/",
193+
security_contact: "https://sequentech.io/security_contact/",
194+
community_website: "https://sequent.org"
195+
},
196+
197+
documentation: {
198+
show_help: true,
199+
faq: 'https://sequentech.io/doc/en/',
200+
overview: 'https://sequentech.io/overview/',
201+
technical: 'https://sequentech.io/static/generic_tech_overview_20_08_15.pdf',
202+
security_contact: "https://sequentech.io/security_contact/"
203+
},
204+
205+
documentation_html_include: '',
206+
207+
legal_html_include: '',
208+
209+
// Details pertaining to the organization that runs the software
210+
organization: {
211+
// Name of the organization, appears in the logo mouse hover, in the login
212+
// page ("Login into __NAME__ admin account"), in the poweredBy, etc
213+
orgName: 'Sequent Tech',
214+
215+
// Subtitle of the organization, used in the ballot ticket PDF
216+
orgSubtitle: '',
217+
218+
// Big logo of the organization, used in the ballot ticket PDF
219+
orgBigLogo: '',
220+
221+
// URL that the logo links to
222+
orgUrl: 'https://sequentech.io'
223+
},
224+
225+
verifier: {
226+
link: "",
227+
hash: ""
228+
},
229+
230+
success: {
231+
text: ""
232+
},
233+
234+
tos: {
235+
text:"",
236+
title: ""
237+
},
238+
239+
mainVersion: '10.5.4',
240+
repoVersions: [],
241+
242+
// Number of seconds after which an authentication token expires.
243+
authTokenExpirationSeconds: 600
244+
};
245+
246+
angular.module('SequentConfig', [])
247+
.factory('ConfigService', function() {
248+
return SequentConfigData;
249+
});
250+
251+
angular.module('SequentConfig')
252+
.provider('ConfigService', function ConfigServiceProvider() {
253+
_.extend(this, SequentConfigData);
254+
255+
this.$get = [function ConfigServiceProviderFactory() {
256+
return new ConfigServiceProvider();
257+
}];
258+
});

0 commit comments

Comments
 (0)