Skip to content

Commit

Permalink
Revamp
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkitkrishna00 committed Aug 18, 2023
1 parent d7749c0 commit 405283c
Show file tree
Hide file tree
Showing 260 changed files with 14,064 additions and 1,021 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# editorconfig.org

root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
assets/js/index.js
assets/js/katex.js
assets/js/vendor
node_modules
31 changes: 31 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"no-console": 0,
"quotes": ["error", "single"],
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Problem report
name: Error report
about: Create a report to help us improve
title: "[BUG]"
labels: bug
Expand All @@ -15,10 +15,10 @@ Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
4. See the problem

**Expected behavior**
A clear and concise description of what you expected to happen.
A clear and concise description of what you expected to be written.

**Screenshots**
If applicable, add screenshots to help explain your problem.
Expand Down
37 changes: 0 additions & 37 deletions .github/ISSUE_TEMPLATE/screenshot-contribution.md

This file was deleted.

23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/screenshot-request.md

This file was deleted.

20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/tutorial-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Tutorial request
about: Suggest an idea for this project
title: "[REQUEST]"
labels: enhancement
assignees: pulkitkrishna00

---

**Is your request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or methods you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
28 changes: 5 additions & 23 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,9 @@
If you are contributing a screenshot, full the following information:
I have corrected an error found on this page:

## Checklist
< url-of-the-page >

<!-- Please complete the following list of tasks, and then check it by changing the "[ ]" to "[x]" -->
Here is the description of the issue:

- [ ] I have read the [contributing guidelines](https://github.com/InstallerLegacy/screenshots.virtualhub.eu.org/blob/main/CONTRIBUTING.md).
- [ ] I confirm that the license of the image is compatible with [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/).
- [ ] Once again: I confirm that the license of the image is compatible with [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/).
< description >

## Info about the screenshot

**Some information about the software**

- Name:
- Company/Developer:
- Summary:

**WinWorldPC link**
If the software is available on WinWorldPC, then please give the link to it.

**How did you get the screenshot?**
- [ ] I took the screenshot myself.
- [ ] I downloaded it from [...]

**Any additional information**
Any other info you want to provide?
The GitHub Issue associated with this problem is #[Issue Number].
62 changes: 62 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"

on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
schedule:
- cron: '0 11 * * 5'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
# Override automatic language detection by changing the below list
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
language: ['javascript']
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
74 changes: 0 additions & 74 deletions .github/workflows/hugo.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/node.js-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Hyas CI

on:
push:
branches: main
pull_request:
branches: main

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [18.x]

steps:
- name: Check out Hyas project
uses: actions/checkout@v2

- name: Set up Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}

- name: Install dependencies
run: npm ci

- name: Run Hyas test script
run: npm test

- name: Build production website
run: npm run build
19 changes: 19 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '0 0 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 5 days with no activity.'
days-before-stale: 30
days-before-close: 5
days-before-pr-close: 5
exempt-issue-labels: 'keep'

0 comments on commit 405283c

Please sign in to comment.