Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Release 1.2.0 (Android) #188

Open
wants to merge 55 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
505cbd9
build: 1.1.1
jankapunkt Oct 27, 2023
5b959ab
build: android release script updated
jankapunkt Oct 27, 2023
f50530f
fix(contexts): Session.update only $inc when unitDOc exists
jankapunkt Dec 30, 2023
4c1a3a1
fix: timed promise uses 5000ms as default timeout instead of 1000ms
jankapunkt Feb 12, 2024
51ad58d
fix(app): stop TTS when new Sounds are playing
jankapunkt Feb 13, 2024
8bec9bf
feature(backend): add logging to reachability endpoint
jankapunkt Feb 26, 2024
b9b8a4a
feature(backend): improve error logging and erorr tagging
jankapunkt Feb 26, 2024
c23ca88
feature(app): handle connection manually + with AppState
jankapunkt Feb 26, 2024
66ae7c8
build: upgrade native SDKs and build properties
jankapunkt Feb 27, 2024
0ab3694
fix(app): UnitScreen KeyboardAvoidingView wrapping scrollview correct…
jankapunkt Mar 1, 2024
642126b
fix(app): supposedly fixing timeout errors on apps coming back from b…
jankapunkt Mar 1, 2024
3a71290
fix(backend): logout user before deleting them
jankapunkt Mar 1, 2024
b31044a
fix(app): logout user before deleting them
jankapunkt Mar 1, 2024
f502e80
docs: update README badges
jankapunkt Mar 14, 2024
efe1076
Merge branch 'release-ios'
jankapunkt Aug 19, 2024
79237eb
migration: upgrade backend to Meteor 3.0.2
jankapunkt Aug 20, 2024
ac0394c
backend: updated to Meteor 3.0.2
jankapunkt Aug 21, 2024
1643432
fix(backend): Editor-Backend compatibility for some contexts restored
jankapunkt Aug 23, 2024
460076c
app: upgraded expo sdk + deps to expo 51 / rn 74
jankapunkt Aug 23, 2024
11fe003
fix: data loading and proper error handling for home screen
jankapunkt Aug 23, 2024
200c8cd
fix(backend): add timeout for connecting to contentserver to prevent …
jankapunkt Aug 26, 2024
708a54c
app: Map rendering performance improved
jankapunkt Aug 26, 2024
e01bde3
fix(app): Map screen shows progress in Diamond after unitset is compl…
jankapunkt Aug 26, 2024
58d8aea
fix(app): standard js lint fix
jankapunkt Aug 26, 2024
8162bd9
fix(backend): standard js lint fix
jankapunkt Aug 26, 2024
e5385ed
fix(backend): adjust getAll and tests to get tests back running
jankapunkt Aug 27, 2024
2a83e04
feature(backend): prepare for research 2x opt-in
jankapunkt Aug 27, 2024
e5414f4
feature(app): prepare for research 2x opt-in
jankapunkt Aug 27, 2024
c866200
fix(app): Instruction pressing now trigggers TTS correctly
jankapunkt Aug 27, 2024
3e2f17d
fix(backend): update tests
jankapunkt Aug 28, 2024
73d08ff
fix(app): Connect-item line position finally fixed!
jankapunkt Aug 28, 2024
67dccd2
fix(app): Connect item renderer with animated dashed lines layout fix…
jankapunkt Aug 28, 2024
66bd77d
refactor: prepare renaming src to app
jankapunkt Aug 30, 2024
d047b23
refactor: move /arch into /docs
jankapunkt Aug 30, 2024
01fd707
git: ignore file updated
jankapunkt Aug 30, 2024
c84d656
docs: add missing font files
jankapunkt Aug 30, 2024
4331271
scripts: moved old scripts to old/ folder
jankapunkt Aug 30, 2024
767b923
git: updated ignore list
jankapunkt Aug 30, 2024
01e8d53
refactor: rename src to app
jankapunkt Aug 30, 2024
ff02444
docs(backend): updated backend jsDoc
jankapunkt Sep 3, 2024
2d06f39
fix(app): standard js lint fix
jankapunkt Sep 3, 2024
928d2a0
fix(app): standard js lint fix
jankapunkt Sep 3, 2024
280acdd
tests(app): re-create test suite
jankapunkt Sep 3, 2024
c32722d
tests(app): tests restored
jankapunkt Sep 3, 2024
4c407da
docs: updated backend/app docs
jankapunkt Sep 3, 2024
360266d
fix(app): standard js lint fix
jankapunkt Sep 3, 2024
9873a40
ci: updated workflows
jankapunkt Sep 3, 2024
e4ab680
Merge branch 'fixup-detached-1.2.0' into release-1.2.0
jankapunkt Sep 3, 2024
66daf05
fix(ci): correct caching paths
jankapunkt Sep 3, 2024
5cb21de
fix(ci): update caching and install paths
jankapunkt Sep 3, 2024
653c3a2
fix(ci): install deps flags added
jankapunkt Sep 3, 2024
14a5e36
fix(ci): add install flags
jankapunkt Sep 3, 2024
55eef54
fix(docs): jsDoc comments fixed
jankapunkt Sep 3, 2024
9ed36a9
fix(docs): jsDoc comments fixed
jankapunkt Sep 3, 2024
4ed0357
fix(ci): use @v2 of setup-meteor
jankapunkt Sep 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 0 additions & 34 deletions .github/workflows/Audit.yml

This file was deleted.

66 changes: 66 additions & 0 deletions .github/workflows/app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: App

on:
push:
branches:
- main
pull_request:

jobs:
lint:
name: 'App Lint'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: 'app/package-lock.json'

- name: install node modules
run: cd app && npm ci --legacy-peer-deps --force
- name: run standard js
run: cd app && npm run lint

tests:
name: 'App Unit Tests'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: 'app/package-lock.json'

- name: install node modules
run: cd app && npm ci --legacy-peer-deps --force

- name: run jest tests
run: cd app && npm test

docs:
name: 'Build App jsDoc'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: 'app/package-lock.json'

- name: install node modules
run: cd app && npm ci --legacy-peer-deps --force
- name: run jsdoc
run: cd app && npm run build:docs
84 changes: 43 additions & 41 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
@@ -1,94 +1,79 @@
name: Backend Tests
name: Backend

on:
push:
branches:
- ma
- main
pull_request:

jobs:
lintcode:
name: Backend JS lint
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3

- name: setup node
uses: actions/setup-node@v3
with:
node-version: '14.x'
- name: checkout
uses: actions/checkout@v4

- name: cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: 'backend/package-lock.json'

- run: cd backend && npm install
- run: cd backend && npm run lint:code
- run: cd backend && npm ci --legacy-peer-deps --force
- run: cd backend && npm run lint:code

tests:
name: Backend Meteor ${{ matrix.meteor }} tests
name: Backend Meteor Tests
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Checkout leaonline:corelib repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: leaonline/corelib
path: github/corelib


- name: Checkout leaonline:service-registry repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: leaonline/service-registry
path: github/service-registry

# CACHING
- name: Install Meteor
id: cache-meteor-install
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.meteor
key: v2-meteor-${{ hashFiles('.meteor/versions') }}
key: v3-meteor-${{ hashFiles('.meteor/versions') }}
restore-keys: |
v2-meteor-

- name: Cache NPM dependencies
id: cache-meteor-npm
uses: actions/cache@v3
with:
path: ~/.npm
key: v1-npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
v1-npm-
v3-meteor-

- name: Cache Meteor build
id: cache-meteor-build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
.meteor/local/resolver-result-cache.json
.meteor/local/plugin-cache
.meteor/local/isopacks
.meteor/local/bundler-cache/scanner
key: v2-meteor_build_cache-${{ github.ref }}-${{ github.sha }}
key: v3-meteor_build_cache-${{ github.ref }}-${{ github.sha }}
restore-key: |
v2-meteor_build_cache-
v3-meteor_build_cache-

- name: Setup meteor
uses: meteorengineer/setup-meteor@v1
uses: meteorengineer/setup-meteor@v2
with:
meteor-release: '2.7.3'
meteor-release: '3.0.2'

- name: Install NPM Dependencies
run: cd backend && meteor npm ci
run: cd backend && meteor npm ci --legacy-peer-deps --force

- name: Run Tests
run: cd backend && sh ./test.sh -c -o
Expand Down Expand Up @@ -119,4 +104,21 @@ jobs:
# uses: VeryGoodOpenSource/very_good_coverage@v1.1.1
# with:
# path: ".coverage/lcov.info"
# min_coverage: 95 # TODO increase to 95!
# min_coverage: 95 # TODO increase to 95!

docs:
name: Backend Build Docs
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: 'backend/package-lock.json'

- run: cd backend && npm ci --legacy-peer-deps --force
- run: cd backend && npm run build:docs
33 changes: 0 additions & 33 deletions .github/workflows/jest_test.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/jsdoc_test.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/lint_test.yml

This file was deleted.

20 changes: 5 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -113,22 +113,12 @@ dist
#macOS
.DS_Store

# Font datatypes
*.ttf
*.otf
*.woff
*.woff2

# specific assets that may not comply
# with license or bloat the repo
src/lib/assets/fonts/
!src/lib/assets/fonts/OpenSans-Regular.ttf
!src/lib/assets/fonts/OFL.txt
src/lib/assets/linked/

# deployment folders
src/.deploy
.deploy

# android keystores
.keystore
**/*.keystore
**/*.jks

# propietary assets
**/Semikolon*.ttf
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# lea.online App

[![Test suite](https://github.com/leaonline/leaonline-app/actions/workflows/jest_test.yml/badge.svg)](https://github.com/leaonline/leaonline-app/actions/workflows/jest_test.yml)
[![Lint Test](https://github.com/leaonline/leaonline-app/actions/workflows/lint_test.yml/badge.svg)](https://github.com/leaonline/leaonline-app/actions/workflows/lint_test.yml)
[![App](https://github.com/leaonline/leaonline-app/actions/workflows/app.yml/badge.svg)](https://github.com/leaonline/leaonline-app/actions/workflows/app.yml)
[![Backend](https://github.com/leaonline/leaonline-app/actions/workflows/backend.yml/badge.svg)](https://github.com/leaonline/leaonline-app/actions/workflows/backend.yml)
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
![GitHub](https://img.shields.io/github/license/leaonline/leaonline-app)
[![DOI](https://zenodo.org/badge/308341102.svg)](https://zenodo.org/doi/10.5281/zenodo.10816688)
Expand Down
Loading
Loading