Skip to content

Commit 8825325

Browse files
committed
Merge remote-tracking branch 'origin/main' into 2025.4.0-envs
2 parents 01bfbe6 + 7895846 commit 8825325

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+762
-271
lines changed

.github/workflows/checks.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Checks
22
# Triggered when code is pushed to any branch in a repository
3-
on: push
3+
on:
4+
push:
5+
branches:
6+
- '**'
47

58
jobs:
69
spellcheck:
@@ -56,6 +59,13 @@ jobs:
5659
run: |
5760
EXCLUDE_LIST=$(cat scripts/broken-link-exceptions.txt)
5861
echo "EXCLUDE_LIST=$EXCLUDE_LIST" >> $GITHUB_ENV
62+
63+
- name: Do not check Github links on dev branches
64+
if: ${{ github.ref_name != 'main' }}
65+
run: |
66+
# Do not check GH on every commit, their rate limits are too small
67+
EXCLUDE_LIST="$EXCLUDE_LIST --exclude=https://github.com/*"
68+
echo "EXCLUDE_LIST=$EXCLUDE_LIST" >> $GITHUB_ENV
5969
6070
- name: Check broken links
6171
uses: ruzickap/action-my-broken-link-checker@v2

.github/workflows/status-dev.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/status-prod.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
name: Status PROD
22

3-
# runs at minute 0 of the 2rd,5th,8th and 11th hour
3+
# runs 6:00 AM every day
44
on:
5-
push:
6-
branches:
7-
- main
85
schedule:
9-
- cron: '0 2,5,8,11 * * *'
6+
- cron: '0 6 * * *'
107

118
jobs:
12-
dev_status_check:
9+
status_check:
1310
runs-on: ubuntu-latest
1411
env:
1512
URL: "https://merginmaps.com/docs"
@@ -29,4 +26,4 @@ jobs:
2926
uses: ruzickap/action-my-broken-link-checker@v2
3027
with:
3128
url: ${{ env.URL }}
32-
cmd_params: --buffer-size=8192 --max-connections=10 --color=always --skip-tls-verification --ignore-fragments --timeout=60 ${{ env.EXCLUDE_LIST }}
29+
cmd_params: --buffer-size=8192 --max-connections=10 --rate-limit=1 --color=always --skip-tls-verification --ignore-fragments --timeout=60 ${{ env.EXCLUDE_LIST }}

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
[![Checks](https://github.com/MerginMaps/docs/actions/workflows/checks.yml/badge.svg)](https://github.com/MerginMaps/docs/actions/workflows/checks.yml)
2-
[![Deploy DEV](https://github.com/MerginMaps/docs/actions/workflows/dist-dev.yml/badge.svg)](https://github.com/MerginMaps/docs/actions/workflows/dist-dev.yml)
3-
[![Status DEV](https://github.com/MerginMaps/docs/actions/workflows/status-dev.yml/badge.svg)](https://github.com/MerginMaps/docs/actions/workflows/status-dev.yml)
41
[![Deploy PROD](https://github.com/MerginMaps/docs/actions/workflows/dist-prod.yml/badge.svg)](https://github.com/MerginMaps/docs/actions/workflows/dist-prod.yml)
52
[![Status PROD](https://github.com/MerginMaps/docs/actions/workflows/status-prod.yml/badge.svg)](https://github.com/MerginMaps/docs/actions/workflows/status-prod.yml)
3+
[![Deploy DEV](https://github.com/MerginMaps/docs/actions/workflows/dist-dev.yml/badge.svg)](https://github.com/MerginMaps/docs/actions/workflows/dist-dev.yml)
4+
[![Checks](https://github.com/MerginMaps/docs/actions/workflows/checks.yml/badge.svg)](https://github.com/MerginMaps/docs/actions/workflows/checks.yml)
65

76
# Mergin Maps Documentation
87

scripts/wordlist.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ SLA
135135
SMTP
136136
SQLAlchemy
137137
SSH
138+
SSO
138139
SVG
139140
SVGs
140141
SaaS
@@ -291,3 +292,15 @@ workspaces
291292
www
292293
zlib
293294
zoomstack
295+
Entra
296+
Auth
297+
SAML
298+
OIDC
299+
SSO
300+
Ory
301+
Polis
302+
SAML
303+
yaml
304+
pre
305+
env
306+
IDP
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<span class="nospellcheck">Mergin Maps dashboard</span>
3+
</template>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<span class="nospellcheck">dashboard</span>
3+
</template>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<span class="nospellcheck">Mergin Maps Cloud</span>
3+
</template>

src/.vitepress/sidebar/en.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export default {
5555
{ text: 'How to Set Photo Names Format', link: '/gis/photo-names/' },
5656
{ text: 'How to Enable Digitising', link: '/gis/enable_digitising/' },
5757
{ text: 'How to Set Up Snapping for Mergin Maps Mobile App', link: '/gis/snapping/' },
58+
{ text: 'How to Avoid Polygons Overlap', link: '/gis/avoid-overlap/' },
5859
{ text: 'Custom Projections', link: '/gis/proj/' },
5960
{ text: 'Supported Formats', link: '/gis/supported_formats/' }
6061
]
@@ -100,7 +101,8 @@ export default {
100101
collapsed: true,
101102
items: [
102103
{ text: 'Custom Mobile App', link: '/dev/customapp/' },
103-
{ text: 'Integrate Mergin Maps', link: '/dev/integration/' },
104+
{ text: 'Python API Client', link: '/dev/integration/' },
105+
{ text: 'C++ API Client', link: '/dev/integration-cpp/' },
104106
{ text: 'PostgreSQL DB Sync', link: '/dev/dbsync/' },
105107
{ text: 'Media Sync', link: '/dev/media-sync/' },
106108
{ text: 'Work Packages', link: '/dev/work-packages/' },
@@ -113,6 +115,7 @@ export default {
113115
items: [
114116
{ text: 'Overview', link: '/server/' },
115117
{ text: 'Install', link: '/server/install/' },
118+
{ text: 'Single Sign-On Deployment', link: '/server/sso-deployment/' },
116119
{ text: 'Secure Mergin Maps Installation', link: '/server/security/' },
117120
{ text: 'Upgrade', link: '/server/upgrade/' },
118121
{ text: 'Administer', link: '/server/administer/' },

src/dev/integration-cpp/index.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# C++ API Client
2+
[[toc]]
3+
4+
Do you want to integrate <MainPlatformNameLink />? <MainPlatformName /> is an open platform that aims to be developer friendly and it has been designed to allow easy integration with other software.
5+
6+
## Installation
7+
C++ API client is completely without any dependencies. To install the client, just download the binary for your platform from <GitHubRepo id="MerginMaps/cpp-api-client/releases"/> and use it from the command line.
8+
9+
The client uses Qt-based <GitHubRepo id="MerginMaps/mobile/tree/master/core" desc="Mergin Maps API core library" /> used by the <MainDomainNameLink desc="mobile app" /> to sync the projects in the mobile application. Go to <GitHubRepo id="MerginMaps/cpp-api-client" /> repository for more information on how to use it.
10+
11+
## Command line interface
12+
When the client is installed, it comes with `mergin` command line tool.
13+
14+
```bash
15+
$ mergin --help
16+
Usage: mergin [OPTIONS] COMMAND [ARGS]...
17+
18+
Options:
19+
--help Show this message and exit.
20+
--version Show the version information.
21+
--username Mergin username (or MERGIN_USERNAME env. variable)
22+
--password Mergin password (or MERGIN_PASSWORD env. variable)
23+
--url Mergin url (defaults to app.merginmaps.com)
24+
25+
Commands:
26+
create Create a new project on Mergin server
27+
download Download last version of mergin project
28+
sync Pull&Push the changes
29+
remove Remove project from server.
30+
```

0 commit comments

Comments
 (0)