1334 Commits

Author SHA1 Message Date
Kelson
b58b964465
Merge pull request #584 from kiwix/feature/553-custom-about-text-and-link
#553 custom about text and link
2023-12-08 11:36:29 +01:00
Balazs Perlaki-Horvath
ef51bcb1e9 #553 custom about text and link 2023-12-08 09:59:09 +01:00
Kelson
e7ae346199
Merge pull request #587 from kiwix/fix/586-remove-unused-files
Remove unused file
2023-12-08 09:58:51 +01:00
Balazs Perlaki-Horvath
944cd1e7bb Remove unused file 2023-12-08 09:26:18 +01:00
Kelson
c9734ccbe3
Merge pull request #574 from kiwix/fix/571-new-lines-are-not-supported-by-translatewiki
Update UI srings for better localisation
2023-12-06 18:28:27 +01:00
tvision251
99f80e7250 fix codefactor issues 2023-12-06 07:29:50 -05:00
tvision251
dab70607be fix codefactor issues 2023-12-06 07:27:35 -05:00
tvision251
2388711fad fix conflict issues 2023-12-06 07:16:24 -05:00
tvision251
1cdedbe0ee Update UI srings for better localisation(#574) 2023-12-06 06:54:43 -05:00
tvision251
668ee6d4d7 update the localization string 2023-12-06 06:48:07 -05:00
Kelson
b4c944e96d
Merge pull request #576 from kiwix/feature/520-custom-app-support-v2
Add custom app support, fixing all the core issues in apple code baseCustom app support
2023-12-04 20:27:38 +01:00
BPH
402fc3c76d
Merge pull request #579 from kiwix/fix/555-bookmarks-core-custom-apps
Fix bookmarks
2023-12-04 00:42:10 +01:00
Balazs Perlaki-Horvath
039ffb126a Revert template macros 2023-12-04 00:25:56 +01:00
Balazs Perlaki-Horvath
d5dfb03ab0 Revert headers 2023-12-04 00:07:55 +01:00
Balazs Perlaki-Horvath
cdd1a2a665 Revert to Xcode version 13 2023-12-04 00:01:40 +01:00
Balazs Perlaki-Horvath
077034d396 Fix bookmarks 2023-12-03 23:42:27 +01:00
Balazs Perlaki-Horvath
1a6e2e95e6 Hide library menus on macOS 2023-12-03 11:48:54 +01:00
Balazs Perlaki-Horvath
1c7b6edcce Custom app support 2023-12-03 11:26:32 +01:00
renaud gaudin
caacbb9426
updated DMG background image 2023-11-30 11:19:00 +00:00
Kelson
2dc7eede80
Merge pull request #563 from kiwix/557-download-of-books-in-macos-is-wicked
Fix download notification name
2023-11-28 19:41:56 +01:00
Balazs Perlaki-Horvath
5348737e8a Fix download notification name 2023-11-28 19:31:18 +01:00
rgaudin
d28874bc8e
Merge pull request #568 from kiwix/appstore-release-only
only upload to Apple upon releases
2023-11-28 11:01:52 +00:00
renaud gaudin
090d9f65bf
only upload to Apple upon releases
no need for ssh key if we dont upload
2023-11-28 10:32:19 +00:00
rgaudin
109d8d4770
Merge pull request #560 from kiwix/filenames
release/nightly uploaded files should be lowercased
2023-11-27 11:31:15 +00:00
renaud gaudin
e52a19ef1b
Fixed #548: release/nightly uploaded files should be lowercased 2023-11-27 10:55:00 +00:00
renaud gaudin
d4517ecadc
removed max-parallel (we now use retries) 2023-11-23 11:21:42 +00:00
renaud gaudin
67ba638897
using our retry script, up to 5x on retcode 65 2023-11-23 11:21:42 +00:00
renaud gaudin
da9b285526
flush when printing so it appears on time 2023-11-23 11:21:42 +00:00
renaud gaudin
f5572eb4e1
Running a single job at once for CI and CD
Hopefully this will reduce the number of failures due to contacting Apple
2023-11-23 08:33:31 +00:00
renaud gaudin
447f202177
Added CI/CD badges 2023-11-23 07:45:57 +00:00
Kelson
ca909addaf
Merge pull request #546 from kiwix/ci-pr
External PR access to CI
2023-11-22 21:16:24 +01:00
Kelson
a1e178ea28
Merge branch 'main' into ci-pr 2023-11-22 21:16:08 +01:00
Kelson
eac6b3dff7
Merge pull request #544 from kiwix/cd
Introduce Continuous Deployment
2023-11-22 21:13:25 +01:00
tvision251
e801098cdf fix: localization spelling issue for iOS platform 2023-11-22 14:56:08 -05:00
renaud gaudin
6bd468a64b Introduce Continuous Deployment
Automatically building and deploying in Github Actions for Nightlies and Releases.

Triggered by the following:

- every day at 01:32am (nightly mode)
- manualy (nightly mode)
- on release publication (release mode)

This workflow makes extensive use of secrets with no additional safe-guard, given:

- `schedule` (nightly) runs only off `main` branch.
- `workflow_dispatch` (manual) can run on any in-repo branch (but uses the workflow from `main`)
- Release publication requires push access to repo.

There are thus two *modes*: Release and Nightly (also used on manual dispatch).
The mode sets the `VERSION` either to the YYYY-MM-DD date for nightly or the tag-name for the release.

It has four *targets*: `macOS dmg`, `macOS app-store`, `iOS ipa` and `iOS app-store`

- **macOS dmg**: universal notarized macOS App in a dmg uploaded to `Kiwix-$VERSION.dmg`
- **macOS app-store**: universal notarized macOS App uploaded to the App Store.
- **iOS ipa**: iOS App uploaded to `Kiwix-$VERSION.ipa`
- **iOS app-store**: iOS App uploaded to the App Store

Code Signing is *automatic* (xcode decides which one to use based on availability).
We use Apple Distribution one for the app-store targets. IPA uses Apple Development
and dmg uses Developer ID.

⚠️ This allows updates CI workflow to make use of the shared xcbuild action
2023-11-22 19:05:49 +01:00
Kelson
5285e176d0
Merge pull request #537 from tvision251/feature/24-localization
Added the localization
2023-11-22 19:00:19 +01:00
renaud gaudin
5cf9877233
External PR access to CI
Instead of accepting `pull_request` event which doesn't passes secrets,
we are now using `pull_request_target` event which does.

To prevent leaking secrets, we are using an initial job that sets the `environment`
dynamically based on the event.
If it's an external PR, then it deploys to `external` environment.

This `external` environment has been created, includes required secrets and mandates approval by automactic, kelson or rgaudin

Because `pull_request_target` is meant to run on `main` code and not PR's one, we also change the checkout ref.

With this setup, CI runs unattended for pushes on main or PRs from our own repo but requires validation for external ones

Note: this is based on April 2023 instructions at
https://iterative.ai/blog/testing-external-contributions-using-github-actions-secrets
2023-11-22 15:46:54 +00:00
renaud gaudin
6a8e254ed1
Introduce Continuous Deployment
Automatically building and deploying in Github Actions for Nightlies and Releases.

Triggered by the following:

- every day at 01:32am (nightly mode)
- manualy (nightly mode)
- on release publication (release mode)

This workflow makes extensive use of secrets with no additional safe-guard, given:

- `schedule` (nightly) runs only off `main` branch.
- `workflow_dispatch` (manual) can run on any in-repo branch (but uses the workflow from `main`)
- Release publication requires push access to repo.

There are thus two *modes*: Release and Nightly (also used on manual dispatch).
The mode sets the `VERSION` either to the YYYY-MM-DD date for nightly or the tag-name for the release.

It has four *targets*: `macOS dmg`, `macOS app-store`, `iOS ipa` and `iOS app-store`

- **macOS dmg**: universal notarized macOS App in a dmg uploaded to `Kiwix-$VERSION.dmg`
- **macOS app-store**: universal notarized macOS App uploaded to the App Store.
- **iOS ipa**: iOS App uploaded to `Kiwix-$VERSION.ipa`
- **iOS app-store**: iOS App uploaded to the App Store

Code Signing is *automatic* (xcode decides which one to use based on availability).
We use Apple Distribution one for the app-store targets. IPA uses Apple Development
and dmg uses Developer ID.

⚠️ This allows updates CI workflow to make use of the shared xcbuild action
2023-11-22 15:19:46 +00:00
tvision251
9ad28b71d1
Merge branch 'main' into feature/24-localization 2023-11-22 05:56:43 -05:00
tvision106
2c9f8d8cd5 CI/CD - apple developer team 2023-11-21 17:45:02 -05:00
BPH
accc2d2e2f
Merge pull request #536 from BPerlakiH/fix/518-open-link-in-new-tab-on-macos
Fix opening new tabs on macos(#518)
2023-11-21 09:16:46 +01:00
tvision106
d0e3101800 fix typo issue 2023-11-20 10:13:15 -05:00
tvision106
d6affef6d6 Merge branch 'feature/24-localization' of https://github.com/tvision251/apple into feature/24-localization 2023-11-20 10:11:22 -05:00
Balazs Perlaki-Horvath
d5ebdecb25 Updated to binding 2023-11-20 11:54:19 +01:00
Balazs Perlaki-Horvath
2ee5a7ceaa Merge remote-tracking branch 'upstream/main' into fix/518-open-link-in-new-tab-on-macos 2023-11-20 11:48:36 +01:00
Balazs Perlaki-Horvath
3c8672e5e1 Revert file 2023-11-20 10:52:39 +01:00
Balazs Perlaki-Horvath
b66288b631 Revert delegate split 2023-11-20 10:51:24 +01:00
Balazs Perlaki-Horvath
7be833cf26 Fix lint 2023-11-20 00:29:25 +01:00
Balazs Perlaki-Horvath
0ebf5313b3 Rename and revert 2023-11-20 00:28:07 +01:00
Balazs Perlaki-Horvath
1508b68f98 Fixlint 2023-11-20 00:18:15 +01:00