-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #592 from zaucker/SelfService
Self service
- Loading branch information
Showing
56 changed files
with
1,191 additions
and
395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
- 6.4.1, 2024-11-22, [email protected] | ||
- New Self Service for account creation and password reset | ||
|
||
- 6.4.0, 2023-06-22, [email protected] | ||
|
||
- Allow absolute path for --technical-file | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,19 @@ | ||
# Copyright (C) 2020 Fritz Zaucker | ||
# Copyright (C) 2023 Fritz Zaucker | ||
|
||
AUTOMAKE_OPTIONS = foreign | ||
AUTOMAKE_OPTIONS = foreign | ||
|
||
SUBDIRS = etc frontend | ||
# SUBDIRS = thirdparty etc frontend | ||
SUBDIRS = thirdparty frontend | ||
|
||
PUB := $(shell find -L public -type d \( -name ".??*" -o -name transpiled \) -prune -o -not -name "*db.json" -a -not -name "*.map" -a -not -name "*~" -a -not -name transpiled -a -not -name "*.tmp" -a -type f -print ) | ||
SHARE := $(shell test -d share && find -L share -type d -name ".??*" -prune -o -not -name ".*" -a -not -name "*~" -a -not -name "*.tmp" -a -not -name '*.sql' -a -not -wholename '*/Docu/*' -a -not -wholename '*/Docu' -a -not -wholename '*/_Attic' -a -not -wholename '*/_Attic/*' -a -type f -print) | ||
|
||
PERLTESTS := $(shell find -L t -name "*.t") | ||
PM := $(shell find -L lib -name "*.pm") | ||
TEMPL := $(shell test -d templates && find -L templates -type f -name "*.ep") | ||
SHARE := $(shell test -d share && find -L share -type d -name ".??*" -prune -o -not -name ".*" -a -not -name "*~" -a -not -name "*.tmp" -a -not -path "share/Models/Experimental/*" -a -type f -print) | ||
|
||
#EXTRA_DIST = META6.json COPYRIGHT LICENSE CHANGES AUTHORS bootstrap $(PUB) $(POD) $(TEMPL) $(SHARE) | ||
PERLTESTS := $(shell find t -name "*.t") | ||
PM := $(shell find lib -name "*.pm") | ||
|
||
EXTRA_DIST = META6.json COPYRIGHT bin lib/Agrammon bootstrap $(PUB) $(SHARE) # $(PERLTESTS) | ||
# EXTRA_DIST = VERSION cpanfile COPYRIGHT LICENSE CHANGELOG AUTHORS bootstrap $(PUB) $(wildcard t/*.t) $(POD) $(TEMPL) $(PERLTESTS) $(SHARE) Dockerfile | ||
|
||
YEAR := $(shell date +%Y) | ||
DATE := $(shell date +%Y-%m-%d) | ||
EXTRA_DIST = META6.json README.md VERSION cpanfile COPYRIGHT CHANGELOG.md bootstrap $(PUB) $(wildcard t/*.t) $(POD) $(TEMPL) $(PERLTESTS) $(SHARE) bin lib | ||
|
||
datadir = $(prefix) | ||
nobase_data_DATA = $(PUB) $(TEMPL) $(SHARE) | ||
|
||
README.md COPYRIGHT: | ||
$(PERL) -i -p -e 's/(#VERSION#|\d+\.\d+\.\d+[^.\s]*)/$(PACKAGE_VERSION)/g;s/(#YEAR#|20[1-9]\d)/$(YEAR)/g;s/(#DATE#|20[1-9]\d-[01]\d-[0-3]\d)/$(DATE)/g;' $@ | ||
|
||
|
||
LANGUAGES := $(shell $(PERL) -e 'use JSON::PP qw(decode_json); print join(" ", map {"share/".$$_.".po"} @{decode_json(join("",<>))->{locales}})' frontend/compile.json) | ||
|
||
test: | ||
prove -j8 -e 'raku -Ilib' t | ||
|
||
unit-test: | ||
AGRAMMON_UNIT_TEST=1 prove -j8 -e 'raku -Ilib' t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
6.3.0 | ||
6.4.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
dist_bin_SCRIPTS = $(MJ_SCRIPT).raku | ||
|
||
# make sure we have all Raku dependencies | ||
# pre-compile | ||
install-exec-hook: | ||
zef --/test --deps-only install .. | ||
PERL5LIB=$(prefix)/Inline/perl5 raku -I$(libdir) -c $(bindir)/$(MJ_SCRIPT).raku |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
#!/usr/bin/env perl6 | ||
|
||
#!/usr/bin/env raku | ||
# unbuffered output | ||
$*OUT.out-buffer = False; | ||
$*ERR.out-buffer = False; | ||
use lib $*PROGRAM.resolve.parent(2) ~ '/lib'; | ||
use lib:from<Perl5> $*PROGRAM.resolve.parent(2) ~ '/Inline/perl5'; | ||
use Agrammon::UI::CommandLine; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Copyright (C) 2020 Oetiker+Partner AG | ||
|
||
AC_INIT([agrammon],m4_esyscmd([jq '.version' < META6.json | tr -d '""' ]),[[email protected]]) | ||
AC_PREREQ([2.59]) | ||
AC_INIT([agrammon], m4_esyscmd(jq '.version' < META6.json | tr -d '""' | tr -d '\n'),[[email protected]]) | ||
AC_PREREQ([2.71]) | ||
AC_CONFIG_AUX_DIR(conftools) | ||
|
||
MJ_CLASS=Agrammon | ||
|
@@ -76,6 +76,9 @@ if test -x "$NODE"; then | |
v13*) | ||
AC_MSG_RESULT(ok v13) | ||
;; | ||
v22*) | ||
AC_MSG_RESULT(ok v22) | ||
;; | ||
*) | ||
AC_MSG_RESULT(no); | ||
NODE=old-node | ||
|
@@ -129,8 +132,7 @@ else | |
fi | ||
|
||
AC_ARG_ENABLE(pkgonly, | ||
AC_HELP_STRING([--enable-pkgonly], | ||
[Skip all checking])) | ||
AS_HELP_STRING([--enable-pkgonly],[Skip all checking])) | ||
AC_SUBST(enable_pkgonly) | ||
|
||
actual_prefix=$prefix | ||
|
@@ -154,6 +156,7 @@ AC_CONFIG_FILES([ | |
Makefile | ||
etc/Makefile | ||
frontend/Makefile | ||
thirdparty/Makefile | ||
]) | ||
|
||
AC_SUBST(VERSION) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
requires 'Excel::Writer::XLSX'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "Agrammon", | ||
"description": "Simulation model for calculating ammonia and Nx/NOx emissions from agriculture.", | ||
"version": "6.4.0", | ||
"version": "6.4.1", | ||
"perl": "6.*", | ||
"authors": [ | ||
"Fritz Zaucker <[email protected]>", | ||
|
@@ -11,16 +11,20 @@ | |
"depends": [ | ||
"Cro::Core", | ||
"Cro::HTTP", | ||
"Cro::HTTP::Log::File", | ||
"Cro::HTTP::Session::Pg", | ||
"Cro::OpenAPI::RoutesFromDefinition:ver<1.0.4+>", | ||
"Cro::WebApp::Template", | ||
"Cro::APIToken", | ||
"Cro::APIToken::Store::Pg", | ||
"Cro::HTTP::Log::File", | ||
"Crypt::Random", | ||
"Crypt::Random::Extra", | ||
"Data::Dump::Tree", | ||
"DB::Pg", | ||
"Digest::SHA1::Native", | ||
"Email::MIME", | ||
"Inline::Perl5", | ||
"IO::Path::ChildSecure", | ||
"IO::String", | ||
"LibXML:ver<0.7.9+>", | ||
|
@@ -29,6 +33,7 @@ | |
"OO::Monitors", | ||
"Shell::Command", | ||
"Spreadsheet::XLSX:ver<0.2.4+>", | ||
"Temp::Path", | ||
"Text::CSV", | ||
"YAMLish", | ||
"Cro::APIToken", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.