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

Merge upstream v 0.1.9 #657

Closed
wants to merge 111 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
11f0604
chore: Add kits-specifc files addition
Dec 5, 2021
e3706c9
Merge remote-tracking branch 'upstream/main'
JannikStreek Dec 18, 2021
2d3dbd4
changed back settings to german defaults
JannikStreek Dec 18, 2021
c0a46e0
changed mindmapp svg andn adapted name for shortcut
JannikStreek Dec 18, 2021
f2c4a23
Merge remote-tracking branch 'upstream/main'
JannikStreek Dec 18, 2021
882ae61
finalized start page
JannikStreek Dec 18, 2021
0b95644
Merge remote-tracking branch 'upstream/main'
JannikStreek Dec 19, 2021
c5383fc
Change name of root node
tim-krieger Dec 19, 2021
d7580ce
merged with upstream
JannikStreek Jan 1, 2022
ab43a6a
small info modal design adjustment
JannikStreek Jan 1, 2022
b98439d
merged with upstream
JannikStreek Jan 2, 2022
7a332a9
Merge remote-tracking branch 'upstream/main'
JannikStreek Jan 2, 2022
a1b8a6d
Merge remote-tracking branch 'upstream/main'
JannikStreek Jan 2, 2022
3d76d31
add kits.blog to content securicy policy
JannikStreek Jan 2, 2022
7bd7a44
Merge remote-tracking branch 'upstream/main'
JannikStreek Jan 2, 2022
5bd670d
merged
JannikStreek Jan 8, 2022
0712ca2
complete renaming to teammapper
JannikStreek Jan 8, 2022
8364b56
Merge remote-tracking branch 'upstream/main'
JannikStreek Jan 16, 2022
9a580c8
brand info modal
JannikStreek Jan 16, 2022
70840f2
merged
JannikStreek Jan 16, 2022
b0d528f
Merge remote-tracking branch 'upstream/main'
JannikStreek Jan 16, 2022
e58a351
Merge remote-tracking branch 'upstream/main'
JannikStreek Jan 29, 2022
f360903
Merge remote-tracking branch 'upstream/main'
JannikStreek Jan 30, 2022
9a32654
Merge remote-tracking branch 'upstream/main'
JannikStreek Feb 6, 2022
c9195eb
Merge remote-tracking branch 'upstream/main'
JannikStreek Feb 6, 2022
4e01fb3
Merge remote-tracking branch 'upstream/main'
JannikStreek Feb 6, 2022
02f8fa3
Add licence
tim-krieger Feb 17, 2022
7dc84e5
Merge remote-tracking branch 'upstream/main'
JannikStreek Feb 19, 2022
b08996e
add status bar back for progressive webapp
JannikStreek Feb 20, 2022
30c185c
fix delete bug with scheduled deletion job (#79) (#2)
JannikStreek Sep 16, 2022
97adc70
Merge remote-tracking branch 'upstream/main'
JannikStreek Sep 19, 2022
919cf01
Merge remote-tracking branch 'upstream/main'
JannikStreek Sep 20, 2022
a2a9085
Merge remote-tracking branch 'upstream/main'
JannikStreek Sep 21, 2022
cfa88ba
Merge remote-tracking branch 'upstream/main'
JannikStreek Sep 22, 2022
ddb5ee3
Merge remote-tracking branch 'upstream/main'
JannikStreek Sep 23, 2022
b50d2d9
Merge remote-tracking branch 'upstream/main'
JannikStreek Sep 24, 2022
de9be13
Merge remote-tracking branch 'upstream/main'
JannikStreek Sep 25, 2022
872b1fd
Merge remote-tracking branch 'upstream/main'
JannikStreek Oct 2, 2022
4138cde
Merge remote-tracking branch 'upstream/main'
JannikStreek Oct 3, 2022
d4ade93
Merge remote-tracking branch 'upstream/main'
JannikStreek Oct 4, 2022
9e9594f
Merge remote-tracking branch 'upstream/main'
JannikStreek Oct 5, 2022
a3dd40c
Merge remote-tracking branch 'upstream/main'
JannikStreek Oct 5, 2022
66cd4f6
merged
JannikStreek Oct 5, 2022
6ae9823
linted
JannikStreek Oct 5, 2022
56d8f84
Merge remote-tracking branch 'upstream/main'
JannikStreek Oct 7, 2022
40c9cf0
fixed link
JannikStreek Oct 7, 2022
49136a0
Merge remote-tracking branch 'upstream/main'
JannikStreek Oct 8, 2022
c7b0515
Merge remote-tracking branch 'upstream/main'
JannikStreek Oct 19, 2022
f5bc928
Add new landing page with material UI (#3)
JannikStreek Dec 26, 2022
b2b1de0
Merge remote-tracking branch 'upstream/main'
JannikStreek Dec 26, 2022
41d2ee2
finalize new kits design
JannikStreek Jan 30, 2023
e5dd37e
minor design bug fix on mobile vertical view and change first start s…
JannikStreek Feb 6, 2023
5d7109e
Merge remote-tracking branch 'upstream/main'
JannikStreek Feb 23, 2023
d711458
Small change in three point statement on start page
JannikStreek Feb 23, 2023
d585db7
Merge remote-tracking branch 'upstream/main'
JannikStreek Feb 23, 2023
7300d00
merged
JannikStreek Mar 23, 2023
e7412c6
modal changes
JannikStreek Mar 23, 2023
ecfc11e
design adjustments with logo
JannikStreek Apr 15, 2023
b5489fb
merged
JannikStreek Apr 15, 2023
e9cb5c0
linted
JannikStreek Apr 15, 2023
63bc553
improve translations for delete
JannikStreek May 30, 2023
119c17b
add server compose prod changes
JannikStreek May 30, 2023
1a897af
minor text tweak
JannikStreek May 30, 2023
a7a8b08
Merge remote-tracking branch 'upstream/main'
JannikStreek May 30, 2023
8750423
merge with b310/teammapper
JannikStreek Dec 28, 2023
b69fe65
Merge remote-tracking branch 'upstream/main'
JannikStreek Dec 29, 2023
edb0146
Merge remote-tracking branch 'upstream/main'
JannikStreek Jan 16, 2024
870c415
fix startpage delete message
JannikStreek Jan 16, 2024
ed68bbb
Merge remote-tracking branch 'upstream/main'
JannikStreek Jan 16, 2024
8fc020b
merged
JannikStreek Jan 23, 2024
b0bf1ed
style fixes after merge
JannikStreek Jan 23, 2024
c1f5dc2
change resource urls
JannikStreek Jan 23, 2024
b702849
merged upstream
JannikStreek Jan 24, 2024
d04f11c
Merge remote-tracking branch 'upstream/main'
JannikStreek Jan 25, 2024
598d84d
Merge remote-tracking branch 'upstream/main'
JannikStreek Jan 26, 2024
9d069f4
Merge remote-tracking branch 'upstream/main'
JannikStreek Jan 28, 2024
b2e7865
Merge remote-tracking branch 'upstream/main'
JannikStreek Feb 1, 2024
be16a3b
Merge remote-tracking branch 'upstream/main'
JannikStreek Feb 13, 2024
66d9e56
Merge remote-tracking branch 'upstream/main'
JannikStreek Feb 13, 2024
559466c
Merge remote-tracking branch 'upstream/main'
JannikStreek Feb 14, 2024
77c52b8
Merge remote-tracking branch 'upstream/main'
JannikStreek Mar 5, 2024
ef26ae6
merged with upstream
JannikStreek Apr 12, 2024
4279f24
Merge remote-tracking branch 'upstream/main'
JannikStreek May 30, 2024
e277174
Merge remote-tracking branch 'upstream/main'
JannikStreek Jun 5, 2024
0a6b005
included landing page changes
JannikStreek Jun 5, 2024
6b5d998
Update start.component.html
JannikStreek Jun 11, 2024
fc38e4b
chore: change privacy link and text (#4)
nwittstruck Jul 4, 2024
830f1bf
chore: bump checkout and build-push-action
nwittstruck Jul 5, 2024
99decc1
merged
JannikStreek Jul 15, 2024
11f6a31
fix merge
JannikStreek Jul 15, 2024
4d6a321
remove arm image build
JannikStreek Jul 15, 2024
39a431e
Update start.component.html with new delete period
JannikStreek Jul 15, 2024
cefc6b5
Update start.component.html
JannikStreek Jul 15, 2024
683e37e
merged with upstream
JannikStreek Jul 26, 2024
8440d38
add last maps to start page
JannikStreek Jul 26, 2024
ca4512a
fix lint
JannikStreek Jul 26, 2024
07b5e16
improve landing page with new feedback
JannikStreek Jul 26, 2024
2b6703e
Merge with teammapper upstream (#5)
JannikStreek Aug 14, 2024
63648f4
merged with upstream main
JannikStreek Aug 23, 2024
8d379a9
Merge upstream (#6)
JannikStreek Sep 1, 2024
3821679
Merge with upstream (#7)
JannikStreek Sep 2, 2024
16644a5
merge with upstream 0.1.7 (#8)
JannikStreek Sep 5, 2024
1ef3ffb
fix: show maps on start page (#11)
sorenjohanson Sep 24, 2024
acafb4c
Add created at to landing page (#12)
sorenjohanson Oct 1, 2024
81e94d9
merged
JannikStreek Nov 13, 2024
7726079
merged
JannikStreek Dec 13, 2024
94bce74
Merge pull request #13 from kitsteam/merge-upstream-0-1-7-2-changes
JannikStreek Dec 13, 2024
0e7bea6
merged
JannikStreek Dec 26, 2024
8a62ef0
fix lint
JannikStreek Dec 26, 2024
18f749a
Merge pull request #14 from kitsteam/merge-upstream-0.1.8
JannikStreek Dec 26, 2024
972e24e
merge with upstream v0.1.9
JannikStreek Jan 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
context: .
tags: |
ghcr.io/b310-digital/teammapper:latest
ghcr.io/kitsteam/teammapper:latest

teammapper-backend-lint:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64/v8
platforms: linux/amd64
target: production
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ services:
- postgres_prod

postgres_prod:
image: postgres:12-alpine
image: postgres:15-alpine
# Pass config parameters to the postgres server.
# Find more information below when you need to generate the ssl-relevant file your self
# command: -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
Expand Down Expand Up @@ -227,6 +227,10 @@ be found on https://kits.blog/tools and can be used by schools for free.

Logos and text provided with courtesy of kits.

## Additional licence

The TeamMapper[logo](https://thenounproject.com/icon/188125/) in this repo – created by [Gregor Cresnar](https://thenounproject.com/grega.cresnar) – is licenced under [CC BY 3.0 Unported](https://creativecommons.org/licenses/by/3.0/).

## Acknowledgements

- *Pictograms author: Sergio Palao. Origin: ARASAAC (http://www.arasaac.org). License: CC (BY-NC-SA). Owner: Government of Aragon (Spain)
Expand Down
4 changes: 3 additions & 1 deletion docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,22 @@ services:
DELETE_AFTER_DAYS: ${DELETE_AFTER_DAYS:-30}
ports:
- "${APP_PROD_PORT:-80}:3000"
restart: always
depends_on:
- postgres_prod

postgres_prod:
image: postgres:15-alpine
# Pass config parameters to the postgres server.
# Find more information below when you need to generate the ssl-relevant file your self
# command: -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
command: -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_DB: ${POSTGRES_PROD_DB}
POSTGRES_PASSWORD: ${POSTGRES_PROD_PASSWORD}
POSTGRES_PORT: ${POSTGRES_PROD_PORT:-5432}
POSTGRES_USER: ${POSTGRES_PROD_USER}
restart: always
volumes:
# To setup an ssl-enabled postgres server locally, you need to generate a self-signed ssl certificate.
# See README.md for more information.
Expand Down
91 changes: 48 additions & 43 deletions teammapper-frontend/package-lock.json

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

Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ describe('SettingsService', () => {
modificationSecret: '456',
adminId: '123',
rootName: 'test',
createdAt: new Date(),
};

storageService.getAllCreatedMapsFromStorage.mockResolvedValue([
Expand All @@ -65,13 +66,15 @@ describe('SettingsService', () => {
modificationSecret: '456',
adminId: '123',
rootName: 'test',
createdAt: new Date(),
};

const otherCachedMapDataFromStorage: CachedAdminMapValue = {
ttl: futureDateTwo,
modificationSecret: '456',
adminId: '123',
rootName: 'test',
createdAt: new Date(),
};

storageService.getAllCreatedMapsFromStorage.mockResolvedValue([
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,34 @@
<h2 mat-dialog-title>{{ applicationName }} {{ version }}</h2>
<mat-dialog-content>
<div class="about-modal-section">
<img src="./assets/icons/teammapper.svg" width="150" alt="Teammapper Logo" />
<img
class="about-kits-logo"
alt="kits logo"
src="./assets/images/kits-logo.svg"
width="150" />
{{ 'PAGES.ABOUT.INTRODUCTION.APPLICATION_DESCRIPTION' | translate }}
<br /><br />
<a
href="https://github.com/kitsteam/teammapper"
class="link"
target="_blank">
GitHub
</a>
· <a href="https://kits.blog/impressum/" target="_blank">Impressum</a> ·
<a href="https://kits.blog/datenschutz/#teammapper" target="_blank"
>Datenschutz</a
>
</div>
<br />
<div class="about-modal-section">
<div class="about-modal-section border-top">
{{
'MODALS.INFO.DELETE_AFTER_DAYS'
| translate : { deleteAfterDays: map.deleteAfterDays }
}}
<br />
<br /><br />
{{ 'MODALS.INFO.DELETED_AT' | translate }}
{{ map.deletedAt | date : 'YYYY-MM-dd' }}<br />

{{ map.deletedAt | date : 'YYYY-MM-dd' }} <br />
<br />
<a
href="https://github.com/b310-digital/teammapper"
class="link"
target="_blank">
{{ applicationName }}
<fa-icon [icon]="faGithub" size="lg"></fa-icon>
</a>
</div>
</mat-dialog-content>
<mat-dialog-actions>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
@import 'src/colors.scss';

.about-modal-section {
img {
padding-right: 2rem;
margin-bottom: 2rem;
margin-right: auto;
margin-left: auto;
display: block;
max-width: 500px;
hyphens: auto;
float: left;

a {
text-decoration: none;
color: $font-grey;
}
}

Expand All @@ -15,3 +18,7 @@
.mat-list-item {
font-family: 'Fira Sans';
}

.about-kits-logo {
float: right;
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'src/colors.scss';

div.floating-buttons {
.no-touch {
width: 50px;
Expand All @@ -22,8 +24,8 @@ div.floating-buttons {

.add-node button,
.remove-node button {
background-color: #00a3d3;
color: #fff;
background-color: $secondary;
color: #ffffff;

&:disabled {
color: rgba(0, 0, 0, 0.26);
Expand Down
24 changes: 24 additions & 0 deletions teammapper-frontend/src/app/modules/start/map-list.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<h4>Letzte Mindmaps</h4>
<ng-container *ngIf="cachedAdminMapEntries.length > 0; else noMindmaps">
<mat-list>
<ng-container *ngFor="let cachedMapEntry of cachedAdminMapEntries">
<mat-list-item class="item-startpage" *ngIf="cachedMapEntry.cachedAdminMapValue.createdAt">
<a href="{{ getMapUrl(cachedMapEntry) }}">{{
getMapTitle(cachedMapEntry)
}}
vom
{{ cachedMapEntry.cachedAdminMapValue.createdAt | date : 'dd.MM.YYYY' }}
um
{{ cachedMapEntry.cachedAdminMapValue.createdAt | date : 'HH:mm' }}
Uhr
</a>
</mat-list-item>
</ng-container>
</mat-list>
</ng-container>

<ng-template #noMindmaps>
<mat-list>
-
</mat-list>
</ng-template>
15 changes: 15 additions & 0 deletions teammapper-frontend/src/app/modules/start/map-list.component.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
h4 {
font-size: 1.25rem;
margin-bottom: 0em;
font-weight: normal;
}

.item-startpage {
padding: 0;
height: auto !important;
}

a {
text-decoration: none;
color: rgb(0, 69, 111);
}
Loading
Loading