gigi.git
5 years agoadd: js-managed default values for certificate-issue-form
Felix Dörre [Sat, 10 Sep 2016 14:18:48 +0000 (16:18 +0200)]
add: js-managed default values for certificate-issue-form

Change-Id: I73713d708f5fdbd505f408b6b19a7a0f7fab813b

5 years agofix: translation strings in "VerificationAgentEntered.templ"
Felix Dörre [Sun, 11 Sep 2016 18:44:25 +0000 (20:44 +0200)]
fix: translation strings in "VerificationAgentEntered.templ"

no need to start a translation string when there is nothing
to translate

Change-Id: I2922810f617f1d9e3ec451574134dbb947c474a3

5 years agoupd: use serials lowercase-only
Felix Dörre [Sun, 11 Sep 2016 08:46:54 +0000 (10:46 +0200)]
upd: use serials lowercase-only

Change-Id: Ia30c803c25f6b593086df614ce1d711c1be84ebf

5 years agofix: postgres conditional expression in SimpleSigner error query.
Felix Dörre [Sat, 10 Sep 2016 14:22:37 +0000 (16:22 +0200)]
fix: postgres conditional expression in SimpleSigner error query.

Change-Id: Ia55d3c3c5baf251c7f748153dc727a131502fe87

5 years agofix: simple signer correctly parse profile-EKUs
Felix Dörre [Sat, 10 Sep 2016 14:02:10 +0000 (16:02 +0200)]
fix: simple signer correctly parse profile-EKUs

Change-Id: Iec644be800d86fe687acccf779383e90a68bd780

5 years agoupd: enforce a more strict Form call pattern.
Felix Dörre [Fri, 9 Sep 2016 23:37:33 +0000 (01:37 +0200)]
upd: enforce a more strict Form call pattern.

form management is now split into:
- initial generation (typically in doGet)
- actual submitting (typically in beforePost) resulting in
 - an error (permament or non-permament)
 - a submission result
   - redirect
   - success message
   - custom
- re-emitting if needed (typically in doPost)

Change-Id: Ic226bb886a513b6dfbd844294d2092b653c5df5b

5 years agoupd: use a more strict pattern for handling forms
Felix Dörre [Mon, 5 Sep 2016 17:05:17 +0000 (19:05 +0200)]
upd: use a more strict pattern for handling forms

Change-Id: I55e1087868820e652fccc7454c9ae290b6947119

5 years agofix: make simple signer select CA certificate better.
Felix Dörre [Fri, 9 Sep 2016 12:07:05 +0000 (14:07 +0200)]
fix: make simple signer select CA certificate better.

Change-Id: I51d3a7849c1d5899a80c93c7222a2e97a3ff5dba

5 years agofix: add CAP_SETGID to gigi-standalone bounding set
Lucas Werkmeister [Fri, 9 Sep 2016 12:47:57 +0000 (14:47 +0200)]
fix: add CAP_SETGID to gigi-standalone bounding set

I thought CAP_SETUID included CAP_SETGID, but that’s not the case, and
we need both.

Change-Id: I83adef1bec4baea2a4bd28aafe8c1686f2932014

5 years agoadd: test case for user opt-in notification for RA Agents
INOPIAE [Mon, 22 Aug 2016 08:24:15 +0000 (10:24 +0200)]
add: test case for user opt-in notification for RA Agents

Change-Id: I896cb3d9f6c6f894001cb8d26f6a84f8b3fc8e6c

5 years agoadd: implement opt-in for notification of RA Agent
INOPIAE [Fri, 19 Aug 2016 13:22:27 +0000 (15:22 +0200)]
add: implement opt-in for notification of RA Agent

Sets the opt-in value for an RA Agent to receive a notification for
every Verification he enters and sends notification if value is given.

fixes issue #95

Change-Id: I4a544712831aa45b9b5ec252c79834c1f10fb179

5 years agoMerge changes Ia0c9d6da,I9e50cc2d
Felix Dörre [Wed, 7 Sep 2016 20:58:55 +0000 (22:58 +0200)]
Merge changes Ia0c9d6da,I9e50cc2d

* changes:
  add: tests for EditDistance
  add: improvement of template parsing

5 years agoadd: tests for EditDistance
Johannes Bechberger [Mon, 5 Sep 2016 20:38:18 +0000 (22:38 +0200)]
add: tests for EditDistance

Change-Id: Ia0c9d6da088cc4060ebd6b24d1d8a34eb99c4e6d

5 years agoadd: improvement of template parsing
Johannes Bechberger [Mon, 5 Sep 2016 18:01:39 +0000 (20:01 +0200)]
add: improvement of template parsing

Change-Id: I9e50cc2d8d30b7b795dedb9dee02ade4d090d891

5 years agochg: replace CAcert Wot User by SomeCA User when creating certificates
INOPIAE [Fri, 2 Sep 2016 03:52:39 +0000 (05:52 +0200)]
chg: replace CAcert Wot User by SomeCA User when creating certificates

Change-Id: I71bfb43f10ec7e4d39a4ccbb27305afb708df4e3

5 years agofix: print error messages for translation extraction to stderr
Felix Dörre [Sun, 4 Sep 2016 11:53:10 +0000 (13:53 +0200)]
fix: print error messages for translation extraction to stderr

Change-Id: I26c6294d93463575ce02a5a0752a37814eb47a0d

5 years agoadd: fail build when translation extraction has a problem.
Felix Dörre [Sat, 3 Sep 2016 13:05:30 +0000 (15:05 +0200)]
add: fail build when translation extraction has a problem.

Change-Id: Ibeeb1f674ce09a131cac21fa6a5df3516b586e60

5 years agoupd: cleanup SQL statements to make them statically verifiable.
Felix Dörre [Sat, 3 Sep 2016 15:07:57 +0000 (17:07 +0200)]
upd: cleanup SQL statements to make them statically verifiable.

Change-Id: I4e7b773bf13a1c5a9b979a995bf72fe5ba45f9d0

5 years agoMerge "fix: language detection pattern for Group description"
Benny Baumann [Tue, 6 Sep 2016 06:55:10 +0000 (08:55 +0200)]
Merge "fix: language detection pattern for Group description"

5 years agofix: language detection pattern for Group description
Felix Dörre [Sun, 4 Sep 2016 11:47:56 +0000 (13:47 +0200)]
fix: language detection pattern for Group description

Change-Id: I15ead19d4a218b527eb25430659355d5e47029ad

5 years agofix: SQL query was wrong
Felix Dörre [Sat, 3 Sep 2016 14:12:57 +0000 (16:12 +0200)]
fix: SQL query was wrong

Change-Id: I3637c59944fdd5fc2e61a991b51781b3b9d746db

5 years agoMerge "Replace init scripts with systemd unit files"
Felix Dörre [Sat, 3 Sep 2016 15:24:24 +0000 (17:24 +0200)]
Merge "Replace init scripts with systemd unit files"

5 years agoReplace init scripts with systemd unit files
Lucas Werkmeister [Tue, 30 Aug 2016 12:35:05 +0000 (14:35 +0200)]
Replace init scripts with systemd unit files

The package installs four unit files. gigi-standalone.service works just
like the old cacert-gigi service: gigi will start as root, manage its
own ports, then drop privileges. gigi-proxy.service and .socket let
systemd manage the port and start gigi as its dedicated user. These
services need different configuration for gigi: for the proxy version,
the configuration must contain proxy=true and http.bindPort=stdin, while
for the standalone version the configuration must have proxy=false and
specify real ports. For this reason, we also disable Debian's policy to
automatically start services upon package installation.

(gigi-simple-signer.service is a direct conversion of
cacert-gigi-signer.init.)

Very simple init scripts for gigi-standalone and gigi-simple-signer are
provided, so that running /etc/init.d/gigi-standalone start will still
work. The scripts simply redirect to systemctl; the LSB header is not
included, since the scripts are useless on their own.

Change-Id: I53f0c825880d1b8c082496106a018957d6128392

5 years agoMerge changes I343e1e25,I8bf03317
Lucas Werkmeister [Tue, 30 Aug 2016 17:43:05 +0000 (19:43 +0200)]
Merge changes I343e1e25,I8bf03317

* changes:
  Support socket activation
  Support reading configuration from file

5 years agoSupport socket activation
Lucas Werkmeister [Mon, 29 Aug 2016 12:10:09 +0000 (14:10 +0200)]
Support socket activation

There are now separate properties for the port that is "displayed" (e.g.
when issuing redirects) and the port that is actually bound. The bind
ports may also be set to "stdin", in which case System.inheritedChannel
is used (expects a socket as file descriptor 0). This allows gigi to
inherit a socket from the system manager ((x)inetd, systemd), which in
turn allows one to run gigi as any user on root ports (e.g. port 80).

Change-Id: I343e1e25daae94aae67db1dd6f25fcfb6241d0fc

5 years agoSupport reading configuration from file
Lucas Werkmeister [Mon, 29 Aug 2016 14:00:47 +0000 (16:00 +0200)]
Support reading configuration from file

This is necessary to support socket activation (Java only supports a
single "inherited channel", which must be file descriptor 0), and also
makes it simpler to run gigi when the configuration is just a regular
file.

It also simplifies the DevelLauncher a bit.

Change-Id: I8bf03317ea549bd17f5b61e50808f48314a06803

5 years agoadd: prevent supporters from modifying their own accounts via support
Felix Dörre [Fri, 26 Aug 2016 08:08:24 +0000 (10:08 +0200)]
add: prevent supporters from modifying their own accounts via support

Change-Id: Ie759b769074e5f7c25787cee7f5661fd8b1471a5

5 years agoMerge "fix: only run fetch-locales in postinst configure"
Felix Dörre [Mon, 29 Aug 2016 11:32:35 +0000 (13:32 +0200)]
Merge "fix: only run fetch-locales in postinst configure"

5 years agoadd: notify board if a support role is granted or removed
INOPIAE [Sun, 28 Aug 2016 06:05:10 +0000 (08:05 +0200)]
add: notify board if a support role is granted or removed

The board mailing address needs to be defined in the future to the email
address for the recipient defined.

Change-Id: Id19ac9023aa199981f91cdcb25a63d26f5af5173

5 years agofix: only run fetch-locales in postinst configure
Lucas Werkmeister [Sat, 27 Aug 2016 11:56:51 +0000 (13:56 +0200)]
fix: only run fetch-locales in postinst configure

I believe we’re not supposed to run that in other postinst phases.

Change-Id: I180aa9fe1b58a33e61b6e6e8b18e944a41d81c22

5 years agofix: stop checking CAA on public suffix (and report error better)
Felix Dörre [Fri, 26 Aug 2016 15:18:05 +0000 (17:18 +0200)]
fix: stop checking CAA on public suffix (and report error better)

Change-Id: Ifb7000db540e6e89c5b8e7c2bdccb6656c5ebe50

5 years agoadd: make inclusion of leaf certificate optional
Felix Dörre [Fri, 26 Aug 2016 19:31:31 +0000 (21:31 +0200)]
add: make inclusion of leaf certificate optional

Change-Id: Ie7c9b18bcb698fb4b9fd688e68f16d8ffb2157cb

5 years agofix: message to user on single-certificate-revoke
Felix Dörre [Thu, 25 Aug 2016 23:08:49 +0000 (01:08 +0200)]
fix: message to user on single-certificate-revoke

Change-Id: I0e49c575e7e421922ed3120572480ad263506893

5 years agofix: turn NPE in better error message.
Felix Dörre [Thu, 25 Aug 2016 22:01:15 +0000 (00:01 +0200)]
fix: turn NPE in better error message.

Change-Id: I2a45b7dd043d4a4d9c73a19ea4bcf1c4433b391d

5 years agoupd: constrain API around Supported User.
Felix Dörre [Thu, 25 Aug 2016 22:00:19 +0000 (00:00 +0200)]
upd: constrain API around Supported User.

Change-Id: I75c60ce9a3881d4ddf9153a8b7da9eb811045c96

5 years agoMerge "Fix typo and spelling"
Benny Baumann [Thu, 25 Aug 2016 19:41:08 +0000 (21:41 +0200)]
Merge "Fix typo and spelling"

5 years agoupd: make simple Signer more intelligent in choosing CA certificate
Felix Dörre [Thu, 25 Aug 2016 14:35:06 +0000 (16:35 +0200)]
upd: make simple Signer more intelligent in choosing CA certificate

Change-Id: I24420cc7a5cd78b460e26dfc58203b4bb0fc0adb

5 years agoFix typo and spelling
Lucas Werkmeister [Thu, 25 Aug 2016 08:41:54 +0000 (10:41 +0200)]
Fix typo and spelling

Change-Id: Ideaf2432c758a66c945b4510b34885b23fc22dc7

5 years agoadd: send notification to support and user after support actions
INOPIAE [Tue, 23 Aug 2016 16:43:31 +0000 (18:43 +0200)]
add: send notification to support and user after support actions

notifications will be send to support and the user after revoking
certificates, changing DoB and support groups

Change-Id: Iccdcb2799fa617a98b140bbfe9531a882e61b1ae

5 years agoupd: move update button to DoB as it only updates the DoB
INOPIAE [Wed, 24 Aug 2016 08:48:25 +0000 (10:48 +0200)]
upd: move update button to DoB as it only updates the DoB

Change-Id: I4716c3a39ed5f4f229281a058814c578cbdf636f

5 years agoupd: remove footer, as it is added automatically
Felix Dörre [Thu, 25 Aug 2016 08:10:46 +0000 (10:10 +0200)]
upd: remove footer, as it is added automatically

Change-Id: I989cd7e317f6a7a89c33db4bed3b969878143556

5 years agoupd: remove linear search in GroupSelector
Felix Dörre [Tue, 23 Aug 2016 22:20:31 +0000 (00:20 +0200)]
upd: remove linear search in GroupSelector

Change-Id: I8f25674d4c9f953cf049c9ab86210450c7f232fb

5 years agoadd: test cases for add/remove user group
INOPIAE [Mon, 22 Aug 2016 08:13:10 +0000 (10:13 +0200)]
add: test cases for add/remove user group

Change-Id: I4fc0b1c5f1c4492bdc9b65318a61431c9872ab1e

5 years agofix: use Group.getByString only when necessary
Felix Dörre [Tue, 23 Aug 2016 21:39:52 +0000 (23:39 +0200)]
fix: use Group.getByString only when necessary

Change-Id: I0dd8d6c234cbf62e8a684ab6682003a16a5d017c

5 years agofix: better error messages when invalid group value is supplied
Felix Dörre [Tue, 23 Aug 2016 19:27:28 +0000 (21:27 +0200)]
fix: better error messages when invalid group value is supplied

Change-Id: I61f593252370de14e3c049ca15ec6fe46315bd96

5 years agoadd: defense-in-depth mechanism to prevent unauthorized adding of groups
Felix Dörre [Mon, 22 Aug 2016 09:23:02 +0000 (11:23 +0200)]
add: defense-in-depth mechanism to prevent unauthorized adding of groups

enforce that users must not add anyone to support-managed groups

Change-Id: I284842efba231ed7733837226626d80877e10cd7

5 years agofix: broken link to support cert page
INOPIAE [Tue, 23 Aug 2016 14:12:41 +0000 (16:12 +0200)]
fix: broken link to support cert page

Change-Id: Ia7ef71c90b928cfd4ad71191f3fe803181943f49

5 years agofix: correctly output subject and ticket-number in support-inform mails
Felix Dörre [Tue, 23 Aug 2016 15:58:41 +0000 (17:58 +0200)]
fix: correctly output subject and ticket-number in support-inform mails

Change-Id: I3a0aae3635db0435013e9c55c98702f9534c736e

5 years agofix: user could add supporter-handled groups
Felix Dörre [Mon, 22 Aug 2016 09:21:26 +0000 (11:21 +0200)]
fix: user could add supporter-handled groups

By changing the values of the drop-down menu a user could assign himself
groups that should only be managed by a supporter.

Change-Id: I8f38a0b02f6b71dc0088fea2ddb6b5a4b2bf778b

5 years agofix: whitespace
INOPIAE [Sun, 21 Aug 2016 12:00:51 +0000 (14:00 +0200)]
fix: whitespace

Change-Id: I2ae1c516c796bc2c1b3bcedc823d4d16a5238fb0

5 years agoadd: management of groups by user
INOPIAE [Fri, 19 Aug 2016 11:19:17 +0000 (13:19 +0200)]
add: management of groups by user

Change-Id: Ie64d48e7bafdde77338b2fc816a328dde8764164

5 years agofix: rename buttons grant / deny to add / remove
INOPIAE [Sun, 21 Aug 2016 15:31:50 +0000 (17:31 +0200)]
fix: rename buttons grant / deny to add / remove

Change-Id: Ia5e8cbbdaa1a958f47fd14985dd762bba0065d5d

5 years agoadd: add permission view
INOPIAE [Wed, 17 Aug 2016 10:14:03 +0000 (12:14 +0200)]
add: add permission view

support is able to see all members of a support group, group members of
function roles (e.g. Arbitrator, TTP Agent, Nucleus Agent, Locate-Agent)
are able to see all members of their role, all others only the number of
accounts assigned to a group.

fixes issue #64

Change-Id: If9dfffae9d147eb2c92c84c3ad2a8173b8f84c83

5 years agoMerge "Generalize Debian package dependencies"
Felix Dörre [Sun, 21 Aug 2016 08:42:42 +0000 (10:42 +0200)]
Merge "Generalize Debian package dependencies"

5 years agofix: output booleans as yes/no directly using the template system
Felix Dörre [Sat, 20 Aug 2016 20:44:17 +0000 (22:44 +0200)]
fix: output booleans as yes/no directly using the template system

Change-Id: I14e5839917457e77c949395a395aadef61ff317f

5 years agoadd: show assigned groups to an account in My Detail
INOPIAE [Thu, 18 Aug 2016 09:47:30 +0000 (11:47 +0200)]
add: show assigned groups to an account in My Detail

fixes issue #114

Change-Id: I2072080316247b6fca283cf548c4418da63ab8fc

5 years agoadd: add boolean to separate groups for user and support
INOPIAE [Fri, 19 Aug 2016 08:43:07 +0000 (10:43 +0200)]
add: add boolean to separate groups for user and support

Change-Id: I1482a77d8549178ad8413bab6ad29dac30c50b31

5 years agoGeneralize Debian package dependencies
Lucas Werkmeister [Fri, 19 Aug 2016 15:36:20 +0000 (17:36 +0200)]
Generalize Debian package dependencies

We can build with any JDK, and run on any JVM, as long as it’s at least
Java 7.

Change-Id: Ic16afe94e648686c5cf3532ed12c120a4843c9a8

5 years agoMerge "Fix debian build"
Lucas Werkmeister [Fri, 19 Aug 2016 18:35:16 +0000 (20:35 +0200)]
Merge "Fix debian build"

5 years agoupd: replace the word state by country when used in country context
INOPIAE [Wed, 17 Aug 2016 09:25:30 +0000 (11:25 +0200)]
upd: replace the word state by country when used in country context

Change-Id: I6dd378bfc7964810751a325e62bed7b502e51f2a

5 years agoFix debian build
Lucas Werkmeister [Fri, 19 Aug 2016 15:35:23 +0000 (17:35 +0200)]
Fix debian build

In order to assemble the testing package, we need to, well, build it.

Change-Id: Ia1d8de6c569ef219be7d6557f86048d07a591dcd

5 years agofix: name Domain.searchDomain correctly
Felix Dörre [Thu, 18 Aug 2016 17:55:08 +0000 (19:55 +0200)]
fix: name Domain.searchDomain correctly

Change-Id: I5e96477e8e0b9f0f576552066ad431f2e839262c

5 years agoadd: test case for domain deletion
Felix Dörre [Thu, 18 Aug 2016 17:54:46 +0000 (19:54 +0200)]
add: test case for domain deletion

Change-Id: I91c89833a8ac736065a4a093e284db725f8dee95

5 years agofix: allow searchUserIdByDomain to find re-added domains
Felix Dörre [Thu, 18 Aug 2016 17:53:25 +0000 (19:53 +0200)]
fix: allow searchUserIdByDomain to find re-added domains

Change-Id: I23e433c32161aac2548855b25b3eda811740b415

5 years agofix: remove deleted domains from cache
Felix Dörre [Thu, 18 Aug 2016 17:52:43 +0000 (19:52 +0200)]
fix: remove deleted domains from cache

Change-Id: Ied20e293ef3eb47a017a7efac39e681301e7579d

5 years agofix: make domain initialization pattern compliant to other dbObject
Felix Dörre [Thu, 18 Aug 2016 17:52:14 +0000 (19:52 +0200)]
fix: make domain initialization pattern compliant to other dbObject

Change-Id: I07ee56f1b63e6da3c5dc11e65be4ccdcbad0aca5

5 years agofix: cache removal
Felix Dörre [Thu, 18 Aug 2016 17:48:17 +0000 (19:48 +0200)]
fix: cache removal

Change-Id: Ibbf3316db18324998e7b5eff5e4d4b3a8265f6d3

5 years agofix: domain deletion
Felix Dörre [Thu, 18 Aug 2016 17:30:50 +0000 (19:30 +0200)]
fix: domain deletion

Change-Id: Ic45fdf7cea215848123e1189dfec7407632200a1

5 years agoadd: use confirmation dialog at many places
Felix Dörre [Thu, 18 Aug 2016 17:34:13 +0000 (19:34 +0200)]
add: use confirmation dialog at many places

Change-Id: I7a3315f20621f378f2dece3f20f94c1d8dae7959

5 years agoadd: modal javascript-dialogs for confirming dangerous action.
Felix Dörre [Thu, 18 Aug 2016 17:24:01 +0000 (19:24 +0200)]
add: modal javascript-dialogs for confirming dangerous action.

Change-Id: I1c10b021325439c71183efb875bcf856eb23931c

5 years agoadd: enable support to search for certificates
INOPIAE [Mon, 15 Aug 2016 09:38:16 +0000 (11:38 +0200)]
add: enable support to search for certificates

fixes issue #108

Change-Id: I712e0f0a69279cf37c10aa03de282604ced713ac

5 years agoRewrite gigi script
Lucas Werkmeister [Wed, 17 Aug 2016 14:05:53 +0000 (16:05 +0200)]
Rewrite gigi script

The script is a bit shorter, hopefully more readable, and also improved
in some cases (e. g. you’ll get an appropriate error message if the
config file exists, but is not readable).

Change-Id: I1750f857d1c1d7d791563d15e6601f55c6571bae

5 years agoupd: add blank between radio button and text for name input page
INOPIAE [Mon, 15 Aug 2016 05:25:55 +0000 (07:25 +0200)]
upd: add blank between radio button and text for name input page

Change-Id: Iaeac13a19617e79f1825529168db74c102c666f3

5 years agoupd: use bootstrap class for button
INOPIAE [Mon, 15 Aug 2016 05:21:46 +0000 (07:21 +0200)]
upd: use bootstrap class for button

Change-Id: I3c5fbaf271efa791f16860a69c53d22496f4674a

5 years agofix: make sure that single name is accepted
INOPIAE [Sun, 14 Aug 2016 11:43:18 +0000 (13:43 +0200)]
fix: make sure that single name is accepted

Change-Id: I30dca6204f6d7d7eef12c744d3c32a83c9ef015c

5 years agoupd: move "getRandomCountry" to test Manager
Felix Dörre [Tue, 16 Aug 2016 18:38:36 +0000 (20:38 +0200)]
upd: move "getRandomCountry" to test Manager

as it does not really fit "Country" and is only used by the Manager.

Change-Id: I48b3edcbc9e931ab0bafaa86a266cee8048d09b0

5 years agoadd: javadoc for Country class.
Felix Dörre [Tue, 16 Aug 2016 18:37:04 +0000 (20:37 +0200)]
add: javadoc for Country class.

Change-Id: Ia44121a23cf1da94173c7df0a5a7113c0fccfd60

5 years agoupd: change CountryCode class into a Country class
Felix Dörre [Tue, 16 Aug 2016 18:22:56 +0000 (20:22 +0200)]
upd: change CountryCode class into a Country class

Change-Id: I26dd38c53c287f0d08f364007943922e5228f356

5 years agoupd: narrowing type-safety around Organisation
Felix Dörre [Sun, 14 Aug 2016 17:20:41 +0000 (19:20 +0200)]
upd: narrowing type-safety around Organisation

Change-Id: I60b86d46a6a1c580e86826dabc0470524258249b

5 years agoadd: testCase for CountryCode Multiton
Felix Dörre [Sun, 14 Aug 2016 17:20:58 +0000 (19:20 +0200)]
add: testCase for CountryCode Multiton

Change-Id: I8cd0088f8b007da41615cfb86c700c62ac7ae927

5 years agoupd: make CountryCode a Multiton
Felix Dörre [Sun, 14 Aug 2016 08:36:25 +0000 (10:36 +0200)]
upd: make CountryCode a Multiton

Change-Id: Icae85456f4b822fe67d3b5b4473de8ced7accfc1

5 years agoMerge changes If3dd7037,Ib19bb63a
Benny Baumann [Tue, 16 Aug 2016 18:01:25 +0000 (20:01 +0200)]
Merge changes If3dd7037,Ib19bb63a

* changes:
  add: Highlight certificates outside validity period in Cert Overview
  add: enable that user can see all certificates issued to his account

5 years agoadd: Highlight certificates outside validity period in Cert Overview
INOPIAE [Sun, 14 Aug 2016 10:08:26 +0000 (12:08 +0200)]
add: Highlight certificates outside validity period in Cert Overview

Highlight if a issued date is in the future and/or the expiration date
is less than 14 days or expired

Change-Id: If3dd70374f1cf191b83a5d113ea0bc526e7e9505

5 years agoadd: enable that user can see all certificates issued to his account
INOPIAE [Sun, 14 Aug 2016 06:07:17 +0000 (08:07 +0200)]
add: enable that user can see all certificates issued to his account

fixes issue #54

Change-Id: Ib19bb63a4f787df4c2292383535f3e06b304f4df

5 years agofix: use default language instead of crashing with NPE.
Felix Dörre [Tue, 16 Aug 2016 08:07:04 +0000 (10:07 +0200)]
fix: use default language instead of crashing with NPE.

Change-Id: Ie3be2742607bc93d18c38480b85b960f1153b5c0

5 years agofix: NPE on points display page.
Felix Dörre [Tue, 16 Aug 2016 08:04:23 +0000 (10:04 +0200)]
fix: NPE on points display page.

fixes #113

Change-Id: I3896e49282b405a70c7ff46a1611aa41532c51cc

5 years agoupd: put "password reset successful" in a bootstrap success-box
Felix Dörre [Sun, 14 Aug 2016 08:19:59 +0000 (10:19 +0200)]
upd: put "password reset successful" in a bootstrap success-box

Change-Id: If801ca92006bbffe2b1baea95cd5286182b52479

5 years agoupd: use "submitProtected" more where applicable.
Felix Dörre [Sun, 14 Aug 2016 08:17:56 +0000 (10:17 +0200)]
upd: use "submitProtected" more where applicable.

Change-Id: Id22af91553ba26eae1a187d8ce73e1ce9f254713

5 years agoadd: random countries for tests
INOPIAE [Sat, 13 Aug 2016 12:38:32 +0000 (14:38 +0200)]
add: random countries for tests

Adds random countries when creating users and while entering
verification on the test server interface to get country variance for
statisics

Change-Id: Id6157e2c5690133fa06461d9c019ecd7a1261357

5 years agoadd: new test cases for handling of residence country in user account
INOPIAE [Sat, 13 Aug 2016 10:20:35 +0000 (12:20 +0200)]
add: new test cases for handling of residence country in user account

Change-Id: I8314cd0cd19f07a7145ca2c4481b24614f28f79e

5 years agoadd: residence country for user account
INOPIAE [Fri, 12 Aug 2016 17:27:19 +0000 (19:27 +0200)]
add: residence country for user account

fixes issue #79

Change-Id: I8fc77689a6a0effcf27e2621b9802b8b04e15cb1

5 years agochg: Refactor CountryCode class
Benny Baumann [Sun, 14 Aug 2016 15:39:21 +0000 (17:39 +0200)]
chg: Refactor CountryCode class

This allows both code length transformations as well as dropping of several unnecessary throws declarations.

Change-Id: Iecab2181690907bc0bf9c0dc20d67b08cb929d68

5 years agoupd: fix wording for emails to have the same end of all mails
INOPIAE [Fri, 12 Aug 2016 12:34:03 +0000 (14:34 +0200)]
upd: fix wording for emails to have the same end of all mails

Change-Id: I7c5dc16160b096680247bb75a8acb65e1a2f1bbf

5 years agoupd: remove double null-check
Felix Dörre [Sat, 13 Aug 2016 22:36:55 +0000 (00:36 +0200)]
upd: remove double null-check

Change-Id: I42e1d91a837429a181fa37af3f2f68faf88bbc10

5 years agoupd: improve formatting of FindUserByEmail-Form
Felix Dörre [Sat, 13 Aug 2016 22:23:48 +0000 (00:23 +0200)]
upd: improve formatting of FindUserByEmail-Form

Change-Id: Ic383d5c1ccefabe122256bb3b6be13260f8de26d

5 years agoupd: refactor FindUserByEmail to have two separate templates
Felix Dörre [Sat, 13 Aug 2016 21:52:26 +0000 (23:52 +0200)]
upd: refactor FindUserByEmail to have two separate templates

Change-Id: I20f80a92be83a9bd84d0a925d77761269d36c0e4

5 years agoadd: make name selection exclusive.
Felix Dörre [Sat, 13 Aug 2016 17:03:43 +0000 (19:03 +0200)]
add: make name selection exclusive.

Change-Id: I572e85ce835c9c1e997161bf53a9e289d019e2c7

5 years agoadd: new test cases to check country field during verification process
INOPIAE [Sat, 13 Aug 2016 09:57:08 +0000 (11:57 +0200)]
add: new test cases to check country field during verification process

Change-Id: Id8eb64dccac07b33b1f6e4e45f4e9a41fd89e9ad

5 years agoadd: country information where verification took place
INOPIAE [Mon, 18 Jul 2016 09:27:56 +0000 (11:27 +0200)]
add: country information where verification took place

fixes issue #78

Change-Id: I0e677dfc0dde671a95186f9c64388fad2da4446b

5 years agofix: Whitespace in "AssureeSearch.templ"
Felix Dörre [Sat, 13 Aug 2016 11:57:26 +0000 (13:57 +0200)]
fix: Whitespace in "AssureeSearch.templ"

Change-Id: Ifac6dda266464aae1af14b158ebf265e98e35704