Commit Graph

730 Commits

Author SHA1 Message Date
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 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
gitnexbot e945d4505a Translation updates from Crowdin [CI SKIP] 2022-09-07 06:26:36 +00:00
qwerty287 9d6ef9e079 Fix browser opening; update some tests (#1203)
Closes https://codeberg.org/gitnex/GitNex/issues/1200

Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1203
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-07 08:25:55 +02:00
M M Arif beac76e6c0 Kickstart 5.0.0 (#1198)
As title

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1198
2022-08-31 05:39:14 +02:00
gitnexbot 8bea1cdc51 Translation updates from Crowdin [CI SKIP] 2022-08-31 02:46:46 +00:00
M M Arif de5a3eaf52 Release 4.5.0 (#1197)
As title

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1197
2022-08-31 04:45:35 +02:00
M M Arif 848e7ef8fa Revamp app UI according to Material design (#1185)
As title

Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1185
Reviewed-by: 6543 <6543@noreply.codeberg.org>
2022-08-26 19:00:08 +02:00
qwerty287 3d711a81b3 Fix string indentation (#1188)
Fix indentation of long strings in strings.xml files. Also adds a new flag to the formatter to fix the issue.

Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: M M Arif <mmarif@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1188
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-08-26 07:54:23 +02:00
M M Arif 5c23e4ee52 Copy/share/open file options in fileviewer (#1193)
Closes #1191

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1193
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-08-24 09:21:25 +02:00
qwerty287 f310f9f8e6 Fix diff parsing and run unit tests (#1190)
Closes https://codeberg.org/gitnex/GitNex/issues/1167

The regex didn't match if the raw string starts with a `+` or `-`.

Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1190
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-08-20 10:30:15 +02:00
qwerty287 a7d9918b67 Format files (#1179)
use https://codeberg.org/qwerty287/woodpecker-intellij-formatter

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1179
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-08-15 16:26:02 +02:00
gitnexbot 151cb8429c Translation updates from Crowdin [CI SKIP] 2022-08-15 07:57:43 +00:00
M M Arif e5f7975109 Wiki link handler (#1186)
Closes #1163

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1186
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-08-15 09:57:07 +02:00
M M Arif 9fa2e3f506 Code editor for files (#1182)
Currently highlight supports the following languages:

- Java
- Python
- Go Lang
- PHP

More will come in next iterations/releases.

Closes #1166
Closes #949

**EDIT: by support it means only can highlight that specific languages methods, classes, data types etc etc. By no means it is restricted to only that 4 langs. You can use it for any language you want.**

Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: 6543 <6543@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1182
Reviewed-by: 6543 <6543@noreply.codeberg.org>
2022-08-14 08:44:04 +02:00