Commit Graph

956 Commits

Author SHA1 Message Date
M M Arif
e53656a4e9 Fix layout issue for source code pro font 2022-08-19 23:44:23 +05:00
M M Arif
32b1f0e760 Fix card visibility for repo info README 2022-08-18 14:05:03 +05:00
M M Arif
7036abd420 fix repo removal from db and transfer status code 2022-08-18 12:27:26 +05:00
M M Arif
947e1d252c Revamp tags and forks screens 2022-08-16 07:34:07 +05:00
6543
4c9991dc12 format xml code 2022-08-15 16:47:35 +02:00
6543
5e6eb80028 format java code 2022-08-15 16:35:03 +02:00
6543
0c6289a13c Merge remote-tracking branch 'upstream/main' into revamp-issues-list 2022-08-15 16:32:01 +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
M M Arif
b3042e3c89 Merge branch 'main' into revamp-issues-list 2022-08-15 09:59:20 +02:00
gitnexbot
151cb8429c Translation updates from Crowdin [CI SKIP] 2022-08-15 07:57:43 +00:00
M M Arif
5c92f11c5e Merge branch 'main' into revamp-issues-list 2022-08-15 09:57:42 +02: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
05c5fab71b Fix some colors 2022-08-14 23:48:38 +05:00
M M Arif
e6a627b6ad Add xml and html langs to code editor for auto complete and highlight 2022-08-14 20:38:31 +05:00
M M Arif
327d906383 Cardview for org members, team members and repo collaborators, watchers, stargazors 2022-08-14 12:50:36 +05:00
M M Arif
ec6d21449a Merge branch 'main' into revamp-issues-list 2022-08-14 08:45:51 +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
M M Arif
a2ecb3e527 Reset all or one record for most visited repos 2022-08-13 22:38:31 +05:00
M M Arif
e541f0b0b1 Repo info, commits and files revamp 2022-08-13 13:06:17 +05:00
M M Arif
a3af7353ba Files fragment revamp 2022-08-13 12:04:17 +05:00
M M Arif
f9ce092346 single issue thread and comments 2022-08-13 11:52:40 +05:00
M M Arif
7e9065a790 Repos list revamp and refactors 2022-08-13 11:36:25 +05:00
M M Arif
867ee1ac95 Teams and collaborator search UI revamp 2022-08-12 20:32:36 +05:00
M M Arif
91c5bdf7f5 More UI revamps + some refactors 2022-08-12 20:14:40 +05:00
M M Arif
3364b4738a Move other listing screens to Material cards view 2022-08-12 19:04:14 +05:00
M M Arif
cfa0a72dc9 labels list ui revamp 2022-08-12 10:20:57 +05:00
M M Arif
83b3e84b81 Org ui revamp 2022-08-12 10:10:57 +05:00
M M Arif
186f0e80c1 Revamp pr list 2022-08-12 09:49:08 +05:00
M M Arif
d0646ff08b Themes fixes 2022-08-12 08:15:35 +05:00
M M Arif
f34a8bd096 Merge branch 'main' into revamp-issues-list
# Conflicts:
#	app/src/main/res/values-v23/themes.xml
#	app/src/main/res/values/colors.xml
#	app/src/main/res/values/themes.xml
2022-08-12 07:40:21 +05: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
0b871ed916 Revamp issues UI 2022-08-11 13:04:15 +05:00
M M Arif
e2c4299c0a Port missing dialogs to M3 2022-08-11 09:52:42 +05:00
M M Arif
95c3b05e6e Fix switches background style 2022-08-11 08:56:30 +05:00
M M Arif
19c09f1069 Fix nav M3 colors 2022-08-11 08:44:38 +05:00
M M Arif
e43b3e5434 Add most visited repos to default home selection setting 2022-08-10 22:36:54 +05:00
M M Arif
a51dbf9703 UI enhancements 2022-08-10 22:29:56 +05:00
M M Arif
6bd56c5f19 New Material UI for user profile 2022-08-10 21:54:07 +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