Commit Graph

560 Commits

Author SHA1 Message Date
M M Arif 72a2b82558 Handle attachments in issue, pr and comments (#1304)
Closes #56

Closes #1313

Closes #1215

Closes #926

Closes #1315

Closes #1321

Closes #1322

Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1304
Co-authored-by: M M Arif <mmarif@swatian.com>
Co-committed-by: M M Arif <mmarif@swatian.com>
2024-02-11 13:20:23 +00:00
M M Arif a381606bf1 Fix regressions in 5.2.0 release (#1309)
As title

Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1309
Co-authored-by: M M Arif <mmarif@swatian.com>
Co-committed-by: M M Arif <mmarif@swatian.com>
2023-09-26 07:33:27 +00:00
DrMaxNix 163b780f0b Improve api version code validation (#1303)
### Describe what your pull request does and which issue you’re targeting
This PR improves the validation of the version code received from the api.
Closes #1287
<br><br>

<!-- Make sure you are targeting the "main" branch, pull requests on release branches are only allowed for bug fixes. -->

- [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: DrMaxNix <git@drmaxnix.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1303
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: DrMaxNix <mail@drmaxnix.de>
Co-committed-by: DrMaxNix <mail@drmaxnix.de>
2023-09-24 11:38:23 +00:00
M M Arif 238a3a1696 UI enhacements (#1300)
Closes #1289

Closes #1277

Closes #1286

Closes #1230

Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1300
Co-authored-by: M M Arif <mmarif@swatian.com>
Co-committed-by: M M Arif <mmarif@swatian.com>
2023-09-20 15:30:21 +00:00
M M Arif d2ff9b8a8a Dashboard view (#1279)
Closes #1231

Closes #1280

Closes #1295

Closes #1298

Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1279
Co-authored-by: M M Arif <mmarif@swatian.com>
Co-committed-by: M M Arif <mmarif@swatian.com>
2023-09-19 05:23:43 +00:00
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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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 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
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
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
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 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
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
qwerty287 d3cc481a4d Add support for PR commits (#1152)
Can be found under the changes option of PRs.

Closes https://codeberg.org/gitnex/GitNex/issues/332

Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: 6543 <6543@noreply.codeberg.org>
Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1152
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-06-30 12:36:13 +02:00
M M Arif 339a6655bf Remove BOM, trim tokens, uname and url for logins (#1157)
As title. Got reports and this will fix the following issues:

- Remove BOM
- Remove new lines and spaces

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1157
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-06-30 11:55:23 +02:00
M M Arif 5bdbff4db6 Create/list/edit/view/delete wiki (#1145)
Closes #17

- [x] create wiki
- [x] list wiki
- [x] view wiki
- [x] edit wiki
- [x] delete wiki

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1145
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-06-26 09:16:35 +02:00
qwerty287 f75fad2bea Fix bugs (#1154)
- fix some bugs (see discord)

Closes https://codeberg.org/gitnex/GitNex/issues/1153

Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1154
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-06-16 00:11:56 +02:00
M M Arif 8975d5c7ca Fix intent (#1147)
Fix intent as requested by @qwerty287 in discord.

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1147
2022-05-21 13:39:23 +02:00
qwerty287 6916989ec1 Some fixes and cleanups for PRs (#1146)
1. improve menu time (show when loading finished)
2. fix crashes from deleted forks

I mainly tried to fix issue https://codeberg.org/gitnex/GitNex/issues/1137, but:
1. the missing UI options are Gitea's issue (the permission values are not correct when using notification endpoints)
2. the comments crash is an `SQLiteConstraintException` which we had already in #1084 but it seems that it wasn't fixed

Closes https://codeberg.org/gitnex/GitNex/issues/1137 closes https://codeberg.org/gitnex/GitNex/issues/1144

Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1146
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-05-21 11:38:15 +02:00
qwerty287 da571929f0 Fix crashes on commits and don't reload (#1142)
Closes #1141

Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1142
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-05-19 09:06:11 +02:00
M M Arif 8d2776666b Clean up (#1134)
As title

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1134
2022-05-15 19:22:23 +02:00