Commit Graph

762 Commits

Author SHA1 Message Date
M M Arif ea954503bf Update build process, fix crash on repo name saving (#1276)
Closes #1227

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1276
2023-07-18 18:32:32 +00:00
Ensar Sarajcic 60f1317d6b Add support for opening commit links (#1275)
- [x] I carefully read the [contribution guidelines](https://codeberg.org/GitNex/GitNex/src/branch/main/CONTRIBUTING.md).
- [x] I'm following the code standards as defined [here](https://codeberg.org/gitnex/GitNex/wiki/Code-Standards).
- [x] By submitting this pull request, I permit GitNex to license my work under
  the [GNU General Public License v3](https://codeberg.org/GitNex/GitNex/src/branch/main/LICENSE).

This closes #1268

Co-authored-by: Ensar Sarajčić <dev@ensarsarajcic.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1275
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: Ensar Sarajcic <esensar@noreply.codeberg.org>
Co-committed-by: Ensar Sarajcic <esensar@noreply.codeberg.org>
2023-07-18 05:22:03 +00:00
gitnexbot a5daf4824b Translation updates from Crowdin [CI SKIP] 2023-06-26 00:03:01 +00:00
gitnexbot d4a8e2f4a1 Translation updates from Crowdin [CI SKIP] 2023-06-24 00:01:46 +00:00
gitnexbot 45e2ca2cd3 Translation updates from Crowdin [CI SKIP] 2023-06-16 19:22:35 +00:00
M M Arif a565282b07 Prepare release 5.1.0 (#1272)
As title

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1272
2023-06-16 19:11:48 +00:00
gitnexbot dc7e956ff8 Translation updates from Crowdin [CI SKIP] 2023-06-14 00:02:23 +00:00
M M Arif 219317caf8 UI, code editor updates and refactors (#1265)
Potentially will close #1255
Closes #1269
Closes #1271

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1265
2023-06-13 05:23:27 +00:00
gitnexbot 8f44e065ca Translation updates from Crowdin [CI SKIP] 2023-04-14 00:02:38 +00:00
M M Arif aa10d425e5 Language statistics (#1262)
closes #884

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1262
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2023-04-12 20:43:25 +00:00
gitnexbot f05f9229f5 Translation updates from Crowdin [CI SKIP] 2023-03-27 00:01:41 +00:00
M M Arif 15a8340e5e UI enhancements (#1259)
Potentially closes #1226
closes #1234

- Fix UI issues
- Use FAB where needed instead of bottom sheet entries
- Other fixes

Update: added screen shots
Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1259
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2023-03-26 06:11:59 +00:00
gitnexbot 04f984e50c Translation updates from Crowdin [CI SKIP] 2023-03-12 00:02:58 +00:00
M M Arif 959049891c Hide notification count when no notification available (#1258)
Closes #1251

Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1258
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2023-03-11 08:59:11 +00:00
gitnexbot 9c7fdccd26 Translation updates from Crowdin [CI SKIP] 2023-03-11 00:02:14 +00:00
M M Arif fb77e541a0 Dynamic colors - Android 12+ (#1257)
Closes #1222

Need `Android 12L API 32` if want to test on emulator.

Change to Dynamic colors in Settings -> Appearance -> Themes.

Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1257
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2023-03-10 18:50:15 +00:00
gitnexbot a55276dbad Translation updates from Crowdin [CI SKIP] 2023-03-09 00:02:04 +00:00
gitnexbot a4b6af1c0b Translation updates from Crowdin [CI SKIP] 2023-03-08 00:02:17 +00:00
qwerty287 3ec469ff19 Never lowercase strings (#1256)
Never lowercase translatable strings. This can lead to weird translations otherwise, e.g. in German, you always start nouns with a capital letter. The current implementation turns this into a wrong capitalization.

Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1256
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2023-03-07 06:53:02 +00:00
gitnexbot 26fb36c60c Translation updates from Crowdin [CI SKIP] 2023-02-14 00:02:55 +00:00
gitnexbot 6a70fa60b6 Translation updates from Crowdin [CI SKIP] 2023-02-06 00:03:15 +00:00
gitnexbot 62cec92edd Translation updates from Crowdin [CI SKIP] 2023-02-04 20:05:36 +00:00
M M Arif 5277bc87ea Downgrade common io library (#1252)
As title

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1252
2023-02-04 19:41:03 +00:00
M M Arif 77d84dfefe Fix deleted milestone crash in timeline view (#1242)
Closes #1241

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1242
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2023-02-03 07:34:48 +00:00
M M Arif 06a7eb5a0c Fix crash on viewing md files in file viewer with tabs and spaces (#1243)
Closes #1239

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1243
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2023-02-03 07:33:51 +00:00
M M Arif 3332749ff2 Update dependencies and bump version (#1244)
As title

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1244
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2023-02-03 07:30:15 +00:00
gitnexbot a4a9dbe212 Translation updates from Crowdin [CI SKIP] 2023-01-25 00:02:53 +00:00
gitnexbot ecda3b9739 Translation updates from Crowdin [CI SKIP] 2023-01-22 20:07:41 +00:00
M M Arif bcab70bcbf 5.0.0 release (#1237)
As title

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1237
2023-01-22 19:49:07 +00:00
gitnexbot 5e6e715ec7 Translation updates from Crowdin [CI SKIP] 2023-01-22 00:05:50 +00:00
qwerty287 be1a85d785 Remove references to Gitea from strings (#1236)
Closes #1232

Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1236
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2023-01-21 13:37:36 +00:00
M M Arif a2d903cfde Preview of MD for supported inputs (#1213)
Closes #487

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1213
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2023-01-19 11:55:19 +00:00
gitnexbot aac1edf071 Translation updates from Crowdin [CI SKIP] 2022-11-24 00:00:54 +00:00
qwerty287 fa259112c2 Fix missing subpath for assets (#1219)
Closes #1218

Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1219
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-11-23 11:34:57 +00:00
gitnexbot 5d77766831 Translation updates from Crowdin [CI SKIP] 2022-11-03 00:00:43 +00:00
qwerty287 8cea886163 Fix label listing for users (#1217)
Fixes label listing if trying to change labels for a user-owned repo (not org).

Fixes #1216

Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1217
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-11-02 13:51:16 +01:00
M M Arif 4aef17bbe7 Material card profile view (#1214)
Potentially closes #982

Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1214
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-11-02 13:50:03 +01:00
gitnexbot c4f621aaa8 Translation updates from Crowdin [CI SKIP] 2022-10-05 00:00:39 +00:00
qwerty287 16f547fed2 Add support for commit statuses (#1212)
Addresses https://codeberg.org/gitnex/GitNex/issues/435 but only supports commits and not PRs.

Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1212
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-10-04 12:22:18 +02:00
gitnexbot 01dec9a098 Translation updates from Crowdin [CI SKIP] 2022-10-02 00:00:53 +00:00
M M Arif 07e048e29f [App Only] Notes (#1207)
Closes #656

It is a simple notes feature where you can add your notes related to your repos, issues etc etc.

For me I sometime came across an issue or thing to fix/add but away from PC. I have notes app, but there are so many things in it and sometime it is lost where I save it. So this will be an easy way to remind me of it when needed.

It can be used as a generic Notes app too.

Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1207
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-10-01 06:16:19 +02:00
qwerty287 211fdab250 Move syntax highligting to codeview components (#1196)
TODO

- Issues of https://codeberg.org/gitnex-garage/useLangDefs

https://codeberg.org/gitnex/GitNex/issues/1180

Also see https://codeberg.org/gitnex-garage/useLangDefs

Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1196
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-09-30 05:04:01 +02:00
qwerty287 325560c08d Use Gradle-native formatter (#1208)
Run `gradle :app:spotlessApply` to apply formatting.

# Changes from current code format

This does not match with the old intellij based code format because I can't apply some rules there.
- newlines after `else`, `catch` etc. (means there are `} else {` statements)
- no spaces around `if` braces (there are statements like `if (true) {` instead of `if(true) {`

Closes https://codeberg.org/gitnex/GitNex/issues/1187
Closes https://codeberg.org/gitnex/GitNex/issues/1202

Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1208
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-09-21 07:43:00 +02:00
gitnexbot 3c65e95db3 Translation updates from Crowdin [CI SKIP] 2022-09-21 00:00:39 +00:00
qwerty287 43ac385baf Fix cdata string (#1211)
Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1211
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-09-20 01:14:57 +02:00
qwerty287 5c28637c42 Fix timeline strings (#1209)
- make it possible to translate *full* strings, not only "fragments" (see labels strings)
- use indexed parameters
- *never* concatenate strings

Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1209
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-09-19 06:10:05 +02:00
qwerty287 385147f235 Fix crash if wiki page has no title (#1210)
Close https://codeberg.org/gitnex/GitNex/issues/1204

The issue is not an empty wiki, but an empty title. Don't know *how* this can happen, but it *can* happen (I have one example in my local gitea).

Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1210
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-09-18 23:28:53 +02:00
gitnexbot 6e3877580e Translation updates from Crowdin [CI SKIP] 2022-09-16 00:00:41 +00:00
M M Arif 8c1b07c2c8 Timeline issue/pr (#1201)
Closes #953

Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1201
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-09-14 20:40:44 +02:00
gitnexbot 3b5fce4879 Translation updates from Crowdin [CI SKIP] 2022-09-12 07:09:35 +00:00