Skip to content

Commit d0629ef

Browse files
committed
Prepare for 6.0 release
1 parent a39def7 commit d0629ef

File tree

5 files changed

+21
-10
lines changed

5 files changed

+21
-10
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,18 @@ MAGE adheres to [Semantic Versioning](http://semver.org/).
66
## Pending on [`develop`](https://github.com/ngageoint/mage-server/tree/develop)
77

88
##### Features
9-
* Local user signup captcha.
9+
10+
##### Bug Fixes
11+
12+
## [6.0.0](https://github.com/ngageoint/mage-server/releases/tag/6.0.0)
13+
14+
### Release Notes
15+
**This release includes database migrations, please remember to backup your database before upgrading.**
16+
17+
##### Features
18+
* Multi form support. Users will be able to add multiple forms to an observation when the server configuration allows. Administrators can restrict total amount of forms, as well as min/max for individual forms.
19+
* Attachments are now form fields. All existing forms will be migrated to include and "Attachments" form field as the first first field in each form. Administrators can edit forms to include any number of attachments fields. In addition administrators can restrict the number of attachments allowed in each field as well as the types of attachments.
20+
* Local user signup captcha. All new local users will need to enter a captcha to create a local MAGE account.
1021
* New authentication functionality ability under admin->settings (e.g. create, edit, etc.).
1122
* Moving security settings to more secure location.
1223
* Adding support for connecting to a generic OAuth server.

docker/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,15 @@ runs MongoDB as the service `mage-db`.
108108
The Compose file references a custom, local [Dockerfile](server/Dockerfile) based on the official [Node.js](https://hub.docker.com/_/node/)
109109
image to build the MAGE server image. At build time, the MAGE server Dockerfile downloads an archive of the MAGE server
110110
code from [Github](https://github.com/ngageoint/mage-server). This defaults to some (hopefully) recent release version of
111-
the MAGE server, e.g., 5.1.0. The Dockerfile accepts an [argument](https://docs.docker.com/engine/reference/builder/#arg),
111+
the MAGE server, e.g., 6.0.0. The Dockerfile accepts an [argument](https://docs.docker.com/engine/reference/builder/#arg),
112112
`MAGE_VERSION`, which you can specify to `docker-compose` like
113113
```bash
114114
MAGE_VERSION=develop docker-compose build
115115
```
116116
to build with whatever version of MAGE server you wish. Github should accept any valid, uniquely identifiable refspec in
117117
the download URL the Docker file uses, so you could use a branch name, tag name, or commit hash. By way of the
118118
```yaml
119-
image: "mage-server:${MAGE_VERSION:-5.1.0}"
119+
image: "mage-server:${MAGE_VERSION:-6.0.0}"
120120
```
121121
entry the Compose file tells Docker to [tag](https://docs.docker.com/get-started/part2/#tag-the-image) the `mage-server`
122122
image with value of `MAGE_VERSION`.
@@ -125,7 +125,7 @@ Be aware that every different value you specify for `MAGE_VERSION` to `docker-co
125125
`mage-server` image because changing that value modifies the [build stage](https://docs.docker.com/develop/develop-images/multistage-build/)
126126
that downloads the MAGE server baseline. For example after running
127127
```bash
128-
$ MAGE_VERSION=5.1.0 docker-compose build
128+
$ MAGE_VERSION=6.0.0 docker-compose build
129129
# ... Docker build output
130130
$ MAGE_VERSION=develop docker-compose build
131131
# ... Docker build output
@@ -134,7 +134,7 @@ then listing your Docker images ...
134134
```bash
135135
$ docker images
136136
REPOSITORY TAG IMAGE ID CREATED SIZE
137-
mage-server 5.1.0 877f79a739b7 8 minutes ago 949MB
137+
mage-server 6.0.0 877f79a739b7 8 minutes ago 949MB
138138
mage-server develop 75a73b7b7c3e 2 days ago 961MB
139139
node 8.11.1 4635bc7d130c 3 weeks ago 673MB
140140
mongo 3.6-jessie 5b1317f8158f 6 weeks ago 366MB

docker/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ services:
1717

1818
mage-server:
1919
depends_on: [mage-db]
20-
image: "mage-server:${MAGE_VERSION:-6.0.0-beta3}"
20+
image: "mage-server:${MAGE_VERSION:-6.0.0}"
2121
# image: "mage-server:debug"
2222
build:
2323
context: ./server
2424
# dockerfile: Dockerfile-debug
2525
args:
26-
MAGE_VERSION: "${MAGE_VERSION:-6.0.0-beta3}"
26+
MAGE_VERSION: "${MAGE_VERSION:-6.0.0}"
2727
volumes:
2828
- ./server/resources:/var/lib/mage
2929
- ..:/home/mage/mage-server
@@ -38,7 +38,7 @@ services:
3838
- mage.net
3939
environment:
4040
MAGE_MONGO_URL: mongodb://mage-db:27017/magedb
41-
MAGE_TOKEN_EXPIRATION: "2419200"
41+
MAGE_TOKEN_EXPIRATION: "28800"
4242

4343
# Uncomment the following block to enable the TLS reverse proxy. You will
4444
# also need to generate the key and certificate as the README describes.

docker/server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:14.17.5
22

3-
ARG MAGE_VERSION=6.0.0-beta3
3+
ARG MAGE_VERSION=6.0.0
44

55
LABEL author="NGA"
66

web-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngageoint/mage-web",
3-
"version": "5.5.2",
3+
"version": "6.0.0",
44
"description": "MAGE Web",
55
"keywords": [
66
"NGA",

0 commit comments

Comments
 (0)