M M Arif
b0a939102a
Merge branch 'main' into notes-feature
...
# Conflicts:
# app/build.gradle
2022-09-30 08:10:51 +05: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
f238686d9d
Fix format
2022-09-29 12:25:05 +02:00
qwerty287
ca3a41e068
Merge branch 'main' into notes-feature
2022-09-29 12:23:28 +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
adca1ba11f
Minor fixes
2022-09-15 14:24:24 +05:00
M M Arif
ff8cd9a643
Remove date format selection, just use pretty only
2022-09-15 10:06:48 +05:00
M M Arif
061774d0f3
cleanup admin layout
2022-09-14 23:58:06 +05:00
M M Arif
5dffb69391
Merge branch 'main' into notes-feature
...
# Conflicts:
# app/src/main/java/org/mian/gitnex/activities/MainActivity.java
# app/src/main/java/org/mian/gitnex/adapters/IssueCommentsAdapter.java
# app/src/main/res/values/strings.xml
2022-09-14 23:45:24 +05: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
M M Arif
24e46c0ee6
notes db, listing, editing and adding
2022-09-14 23:30:01 +05:00
gitnexbot
3288fdbf3c
Translation updates from Crowdin [CI SKIP]
2022-09-14 00:00:49 +00:00
M M Arif
dd3346259e
Merge branch 'main' into notes-feature
2022-09-12 23:32:32 +05:00
gitnexbot
3b5fce4879
Translation updates from Crowdin [CI SKIP]
2022-09-12 07:09:35 +00:00
6543
33e6b69fb1
Use Cron for locale update ( #1205 )
...
as title
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1205
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org >
Co-authored-by: 6543 <6543@obermui.de >
Co-committed-by: 6543 <6543@obermui.de >
2022-09-12 09:08:47 +02:00
M M Arif
83e34c7822
Add fragment/activity
2022-09-09 08:41:52 +05:00
M M Arif
1663d8f74d
Merge branch 'main' into notes-feature
...
# Conflicts:
# app/src/main/res/values/strings.xml
2022-09-07 19:15:36 +05: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]
4.5.0
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
gitnexbot
499c559412
Translation updates from Crowdin [CI SKIP]
2022-08-12 02:02:39 +00:00
M M Arif
6326f5eba5
Port accept cert dialog to M3 ( #1184 )
...
Actually it is working, just need to restart the app.
So closing #1119 and also porting the Alert dialogs for accepting the certificates and remove account to M3.
Co-authored-by: M M Arif <mmarif@swatian.com >
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1184
2022-08-12 04:02:04 +02:00
M M Arif
e4cd1e147b
New UI for profile screens ( #1183 )
...
As title.
It is part of the ongoing UI enhancements from M3 and will continue in the next few releases to overhaul the app.
Co-authored-by: M M Arif <mmarif@swatian.com >
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1183
2022-08-12 04:01:51 +02:00
M M Arif
bd7cfaec02
Add icon and nav menu item
2022-08-11 21:28:31 +05:00
M M Arif
387089fb26
Most visited repositories ( #1178 )
...
This is an app only feature and could be useful to some users including me.
Co-authored-by: M M Arif <mmarif@swatian.com >
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1178
2022-08-07 22:03:17 +02:00
M M Arif
23df83110d
Port app to M3 (Material You) ( #1181 )
...
There are not any functinality changes except more of UI changes which comes with M3. There are still few things left but that are not there yet from Google side.
I will be merging this PR as it does not break any function but attaching a few screenshots if you would like to know how it looks like. Feel free to build from `main` to test it out.
Co-authored-by: M M Arif <mmarif@swatian.com >
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1181
2022-08-07 21:34:02 +02:00
M M Arif
181f0b5dea
Fix mark all notifications as read ( #1170 )
...
Side note: I don't know why but Gitea notifications listing is very random even on the web UI. Olds are in the 1st page and new ones on the last page.
Closes #1164
Closes #1160
Co-authored-by: M M Arif <mmarif@swatian.com >
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1170
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org >
2022-08-01 09:24:23 +02:00
qwerty287
9d428f1b11
Show owner of repo and allow nav to it ( #1165 )
...
- show owner next to repo name (and allow click on it)
- if you click on the back button of the toolbar on repo details, it navigates to the owner now
- cleaned up repos adapter
Closes #965
Closes #1162
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/1165
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-07-31 17:47:33 +02:00
qwerty287
a95d2718b4
Fix crash on incorrect case ( #1173 )
...
Closes #1172
Co-authored-by: qwerty287 <ndev@web.de >
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1173
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-07-29 14:54:30 +02:00
gitnexbot
f15477b03a
Translation updates from Crowdin [CI SKIP]
2022-07-29 12:10:57 +00:00
qwerty287
6a84e4d897
Extend CI workflows ( #1155 )
...
Extend CI workflows (-> https://codeberg.org/gitnex/GitNex/issues/1099 )
1. pull translations and push them again on every pull
@mmarif this needs the secrets and `BOT_TOKEN`
the code for this comes from tea4j-autodeploy
2. add a **template** for a check workflow which only does some static checks right now. It is disabled because it requires some investigation and discussion on how we should deal with these issues. The checks are currently (if we would enable it):
1. check code style and formatting according to the project file in `.idea/`
2. make sure every Java file has an `@author` annotation
I would wait until you reviewed with enabling them because we have to reformat all the files which results in changes with a few thousand changed lines (tried this once).
Closes https://codeberg.org/gitnex/GitNex/issues/141
Co-authored-by: qwerty287 <ndev@web.de >
Co-authored-by: M M Arif <mmarif@noreply.codeberg.org >
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1155
Reviewed-by: 6543 <6543@noreply.codeberg.org >
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org >
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org >
2022-07-29 14:08:44 +02:00
Fettlaus
4a3397766f
Add fallback for missing version information in database ( #1175 )
...
### Describe what your pull request does and which issue you’re targeting
As described in #1174 the app crashes if a bogus version (empty string) is stored in the database. In case of an empty version information in the database, the fallback should be to gracefully treat this as a version 0. This way every check for a "version greater than" fails.
After all the version information will be updated from the server anyways.
<br>
fixes #1174
<br>
- [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 ).
Co-authored-by: Fettlaus <mail@fettlaus.de >
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1175
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org >
Co-authored-by: Fettlaus <fettlaus@noreply.codeberg.org >
Co-committed-by: Fettlaus <fettlaus@noreply.codeberg.org >
2022-07-28 16:23:33 +02:00
M M Arif
39f961e746
Kick start 4.5.0 dev ( #1169 )
...
As title
Co-authored-by: M M Arif <mmarif@swatian.com >
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1169
2022-07-09 10:36:00 +02:00
M M Arif
48fa38dbe8
Release 4.4.0 ( #1159 )
...
As title
Co-authored-by: M M Arif <mmarif@swatian.com >
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1159
4.4.0
2022-07-01 09:29:56 +02:00
qwerty287
9a2f04f838
Crowdin 2022-07-01 ( #1158 )
...
Co-authored-by: qwerty287 <ndev@web.de >
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1158
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-07-01 08:21:14 +02:00