1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-02 20:30:05 +02:00

9 Commits

Author SHA1 Message Date
dependabot[bot]
c383f5cb29 Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-10 15:12:06 +00:00
s2
44b4183597 2.0.16 2021-06-19 00:44:18 +02:00
s2
cfce0edaa9 update node modules 2021-06-19 00:43:58 +02:00
s2
5edd143318 2.0.15 2021-05-07 15:54:10 +02:00
s2
e576161518 update node modules 2021-05-07 15:53:54 +02:00
s2
7a63056ef3 2.0.14 2021-01-29 09:43:45 +01:00
s2
efd9d13454 update node modules 2021-01-29 09:43:28 +01:00
s2
9836f5c918 2.0.13 2021-01-13 15:57:32 +01:00
s2
6c9787fea1 add homepage link 2021-01-13 15:57:21 +01:00
4 changed files with 941 additions and 438 deletions

View File

@@ -3,6 +3,7 @@
const remote = require('electron').remote; const remote = require('electron').remote;
const electronFind = require('electron-find'); const electronFind = require('electron-find');
const dialog = remote.require('electron').dialog; const dialog = remote.require('electron').dialog;
const shell = require('electron').shell;
let findInPage = new electronFind.FindInPage(remote.getCurrentWebContents()); let findInPage = new electronFind.FindInPage(remote.getCurrentWebContents());
@@ -144,6 +145,11 @@
}); });
}); });
$(document).on('click', 'a[href^="http"]', function(event) {
event.preventDefault();
shell.openExternal(this.href);
});
$(document).on('keypress', (ev) => { $(document).on('keypress', (ev) => {
//ctrl + f //ctrl + f
if (ev.ctrlKey && ev.charCode == 6) { if (ev.ctrlKey && ev.charCode == 6) {

View File

@@ -6,4 +6,7 @@
<a class="btn btn-primary btn-lg js-open-folder" href="javascript:///">Open git repository folder</a> <a class="btn btn-primary btn-lg js-open-folder" href="javascript:///">Open git repository folder</a>
<input type="file" style="display: none" class="js-open-folder-input" webkitdirectory /> <input type="file" style="display: none" class="js-open-folder-input" webkitdirectory />
</div> </div>
<p>
<a href="https://github.com/S2-/gitlit">Homepage</a>
</p>
</div> </div>

1358
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{ {
"name": "gitlit", "name": "gitlit",
"version": "2.0.12", "version": "2.0.16",
"description": "", "description": "",
"main": "app/main.js", "main": "app/main.js",
"build": { "build": {
@@ -28,13 +28,13 @@
}, },
"dependencies": { "dependencies": {
"animate.css": "^4.1.1", "animate.css": "^4.1.1",
"bootstrap": "^4.5.3", "bootstrap": "^4.6.0",
"ejs": "^3.1.5", "ejs": "^3.1.6",
"ejs-render-remote": "^1.0.13", "ejs-render-remote": "^1.0.13",
"electron-find": "^1.0.6", "electron-find": "^1.0.6",
"electron-localshortcut": "^3.2.1", "electron-localshortcut": "^3.2.1",
"github-app-updater": "^1.0.5", "github-app-updater": "^1.0.5",
"jquery": "^3.5.1", "jquery": "^3.6.0",
"material-design-icons": "^3.0.1", "material-design-icons": "^3.0.1",
"minimist": "^1.2.5", "minimist": "^1.2.5",
"nonblockjs": "^1.0.8", "nonblockjs": "^1.0.8",
@@ -42,8 +42,8 @@
"popper.js": "^1.16.1" "popper.js": "^1.16.1"
}, },
"devDependencies": { "devDependencies": {
"electron": "^11.0.4", "electron": "^13.1.2",
"electron-builder": "^22.9.1" "electron-builder": "^22.11.7"
}, },
"scripts": { "scripts": {
"start": "electron .", "start": "electron .",