-
Notifications
You must be signed in to change notification settings - Fork 46
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 #114 from ubccr/mokey-0-6
Major refactor
- Loading branch information
Showing
197 changed files
with
8,718 additions
and
8,722 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
IPA_ADMIN_PASS="changeme" | ||
IPA_DS_PASS="this is insecure" | ||
DEV_SSH_KEY="ssh-rsa AAAAxxxxxxxx" | ||
GO_VERSION=1.17.7 |
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,9 @@ | ||
mokey.yaml | ||
mokey.toml | ||
mokey.db | ||
mokey | ||
vendor/ | ||
.env | ||
dist/ | ||
key.gpg | ||
mokey-*.tar.gz | ||
*.swp |
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,76 @@ | ||
# Mokey goreleaser configs | ||
# See here: https://goreleaser.com | ||
before: | ||
hooks: | ||
- go mod tidy | ||
builds: | ||
- env: | ||
- CGO_ENABLED=0 | ||
goarch: | ||
- amd64 | ||
goos: | ||
- linux | ||
ldflags: | ||
- -s -w -X github.com/ubccr/mokey/server.Version={{.Version}} | ||
archives: | ||
- replacements: | ||
linux: linux | ||
amd64: x86_64 | ||
wrap_in_directory: true | ||
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}" | ||
files: | ||
- LICENSE | ||
- NOTICE | ||
- README.md | ||
- ChangeLog.md | ||
- mokey.toml.sample | ||
nfpms: | ||
- vendor: University at Buffalo | ||
homepage: https://github.com/ubccr/mokey | ||
maintainer: Andrew E. Bruno <aebruno2@buffalo.edu> | ||
license: MIT | ||
description: |- | ||
FreeIPA self-service account management tool | ||
formats: | ||
- deb | ||
- rpm | ||
overrides: | ||
deb: | ||
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}" | ||
scripts: | ||
postinstall: ./scripts/nfpm/postinstall.sh | ||
rpm: | ||
file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Arch }}" | ||
scripts: | ||
postinstall: ./scripts/nfpm/postinstall.sh | ||
rpm: | ||
signature: | ||
key_file: key.gpg | ||
deb: | ||
signature: | ||
key_file: key.gpg | ||
contents: | ||
- src: ./scripts/nfpm/mokey.toml.default | ||
dst: /etc/mokey/mokey.toml | ||
type: "config|noreplace" | ||
- src: ./scripts/nfpm/mokey.service | ||
dst: /usr/lib/systemd/system/mokey.service | ||
checksum: | ||
name_template: 'checksums.txt' | ||
snapshot: | ||
name_template: "{{ incpatch .Version }}-SNAPSHOT-{{.ShortCommit}}" | ||
changelog: | ||
sort: desc | ||
groups: | ||
- title: Features | ||
regexp: "^.*feat[(\\w)]*:+.*$" | ||
order: 0 | ||
- title: 'Bug fixes' | ||
regexp: "^.*fix[(\\w)]*:+.*$" | ||
order: 1 | ||
- title: Other | ||
order: 999 | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- 'typo' |
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,30 +1,20 @@ | ||
mokey includes software developed by: | ||
|
||
- Bootstrap. Copyright 2011-2017 the Bootstrap Authors and Twitter, Inc. Code | ||
- Bootstrap. Copyright 2011-2018 the Bootstrap Authors and Twitter, Inc. Code | ||
released under the MIT License. | ||
|
||
- Font Awesome by Dave Gandy - http://fontawesome.io. CSS released under MIT | ||
- Font Awesome by Dave Gandy (http://fontawesome.io) CSS released under MIT | ||
License. Webfonts released under SIL OFL 1.1 | ||
|
||
- jQuery - Copyright JS Foundation and other contributors, | ||
https://js.foundation/ released under the following license: | ||
- htmx (https://htmx.org/) Copyright 2020, Big Sky Software released under | ||
BSD 2-Clause License | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
- sweetalert2 (https://sweetalert2.github.io/) Copyright 2014 Tristan Edwards & | ||
Limon Monte released under the MIT License. | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
- Email templates adopted from postmark-templates (https://github.com/ActiveCampaign/postmark-templates) | ||
Copyright 2015 Wildbit released under the MIT License (MIT) | ||
|
||
- docker-compose development environment adopted from the webauthinfra project. | ||
(https://github.com/adelton/webauthinfra). Web application authentication developer setup | ||
Copyright 2016--2018 Jan Pazdziora Licensed under the Apache License, Version 2.0 |
Oops, something went wrong.