Skip to content

Commit

Permalink
Release v0.3.0 (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrf committed Mar 24, 2024
1 parent fd96a79 commit c585803
Show file tree
Hide file tree
Showing 7 changed files with 112 additions and 20 deletions.
31 changes: 18 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ jobs:
uses: actions/download-artifact@v4
with:
name: app-static
path: app/static/
path: ./app/static/

- name: Display structure of downloaded files
run: ls -R app/static/

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down Expand Up @@ -150,7 +153,7 @@ jobs:
if: github.event_name == 'push'
name: Push docker image
runs-on: ubuntu-latest
needs: [build-docker, run-tests]
needs: [build-docker, run-tests, version]
env:
COMPOSE_FILE: docker/docker-compose.yml

Expand Down Expand Up @@ -181,13 +184,15 @@ jobs:

- name: Push to ghcr (tagged)
if: startsWith(github.ref, 'refs/tags/')
run: |
sed s'/refs\/tags\///g' <(echo "${{ github.ref }}") | (read TAG; \
docker tag ghcr.io/hgrf/racine:latest \
ghcr.io/hgrf/racine:$TAG && \
docker push ghcr.io/hgrf/racine:$TAG && \
echo Successfully pushed ghcr.io/hgrf/racine:$TAG
)
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile
push: true
target: racine
tags: ghcr.io/hgrf/racine:${{ needs.version.outputs.VERSION }}
cache-from: type=gha
cache-to: type=gha,mode=max

build-appimage:
name: Build AppImage
Expand Down Expand Up @@ -348,22 +353,22 @@ jobs:
needs: [version, build-appimage, build-macos, build-macos-arm64, build-windows, build-docker, run-tests]
steps:
- name: Download AppImage
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "RacineDesktop AppImage ${{ needs.version.outputs.VERSION }}"

- name: Download macOS x64 executable
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "RacineDesktop ${{ needs.version.outputs.VERSION }} macOS x64 dmg"

- name: Download macOS arm64 executable
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "RacineDesktop ${{ needs.version.outputs.VERSION }} macOS arm64 dmg"

- name: Download Windows executable
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "RacineDesktop Setup ${{ needs.version.outputs.VERSION }}"

Expand Down
87 changes: 87 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,90 @@
## v0.3.0

### Features

* add link to latest release on help page
* replace "add sample image" by an icon
* add button to clear sample image
* rework header of sample editor (#218)
* use smaller headings on welcome and help page
* more detail in page titles
* center navbar brand on small screens
* remove top navbar controls from login page and improve the login page layout
* add external resources to help
* update UI icons to Font Awesome icons
* update Racine icon and favicon
* run celery tasks synchronously in testing and standalone

### Bugfixes and other improvements

* fix sample search and selection on non-mainview
* log unhandled exceptions app-wide, not only for main blueprint
* log exceptions also in development
* add default error message to AjaxView
* refactor toggle button code
* refactor initialization of R (#217)
* fix: do not initialize hidden CKEditor more than once
* log unauthorized API requests and do not force status to 500
* improve error handling
* improve emailing API spec
* refactor SMB resource API (#209) and user-related API (#215)
* refactor dialog templates
* move generic form methods to base class
* add some API tests for sample and action creation (#213) and fix some pytest warnings (#214)
* do not transmit usage stats in testing
* backend: API refactoring and build improvements
* print: restrict image resizing to print area
* FormDialog: hide modal dialog before showing error dialog
* fix display of recent samples on welcome page
* refactor and clean up templates and CSS
* minify JS
* use more appropriate response codes for mail requests
* refactor icons and add bootstrap and fontawesome icons
* FormDialog: update CKEditor data before serialization
* publish usage stats on startup
* backend refactoring and cleanup
* fix action count in usage stats

### Security patches

* bump cryptography from 41.0.6 to 42.0.4 (#231)
* Bump pillow from 10.0.1 to 10.2.0
* Bump jinja2 from 3.1.2 to 3.1.3

### Desktop standalone demo app

* implement threaded async tasks and simple kv store (#204) and enable email config and usage stats
* bump app-builder-lib and electron-builder in /desktop (#232)
* clean killing of python subprocess at shutdown (#228)
* store data in home dir (#227)
* add standalone executable for x64 and arm64 macOS
* update package.json
* add code signing for macOS and Windows executables
* add some documentation about Desktop app
* Windows: fix welcome page

### Build and CI

* add sonarcloud badge to README
* build: clean up Makefile (#223)
* CI improvements (caching, prebuild app-static, combining builds in one workflow etc.)
* exclude some folders from black and flake8
* Desktop app workflows: fix version determination for pull requests

### devcontainer

* set up file association for jinja templates
* add editor ruler
* add bash-completion

### Website

* bump follow-redirects from 1.15.2 to 1.15.6 in /site (#233)
* bump ip from 2.0.0 to 2.0.1 in /site (#230)
* add testimonial by Everton Arrighi
* add download links for demo apps
* fix website build

## v0.2.0

### Features
Expand Down
4 changes: 2 additions & 2 deletions desktop/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "racine-desktop",
"version": "0.2.0",
"version": "0.3.0",
"description": "A desktop demo of the Racine lab book",
"main": "renderer.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "racine_js",
"version": "0.2.0",
"version": "0.3.0",
"type": "module",
"description": "Racine JavaScript library",
"license": "GPL v3",
Expand Down
2 changes: 1 addition & 1 deletion version.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
RACINE_VERSION,v0.2.0
RACINE_VERSION,v0.3.0
RACINE_API_VERSION,0.3.0

0 comments on commit c585803

Please sign in to comment.