Skip to content

Commit

Permalink
Update Dependencies (#56)
Browse files Browse the repository at this point in the history
* Update Dependencies

* Add test env

* Fix Popup minHeight

* More Fixed
  • Loading branch information
smashedr committed Jul 7, 2024
1 parent 548a0f0 commit 2d115d6
Show file tree
Hide file tree
Showing 10 changed files with 505 additions and 344 deletions.
2 changes: 0 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
"sourceType": "module"
},
"rules": {
"no-empty": "off",
"no-extra-semi": "off",
"no-func-assign": "off",
"no-undef": "off",
"no-unused-vars": "off"
}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
node-version: 20

- name: "Update Manifest Version"
uses: cssnr/update-json-value-action@v1
if: ${{ github.event_name == 'release' }}
uses: cssnr/update-json-value-action@v1

- name: "Build All"
run: |
Expand All @@ -36,6 +36,7 @@ jobs:
path: web-ext-artifacts/

- name: "Upload to Release"
if: ${{ github.event_name == 'release' }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@ name: "Test"
on:
push:
branches: ["master"]
paths:
- "src/**"
- "tests/**"
pull_request:
branches: ["master"]
paths:
- "src/**"
- "tests/**"
workflow_dispatch:

jobs:
test:
name: "Test"
runs-on: ubuntu-latest
timeout-minutes: 5
if: ${{ !contains(github.event.head_commit.message, '[CI SKIP]') }}
if: ${{ !contains(github.event.head_commit.message, '#notest') }}

steps:
- name: "Checkout"
Expand All @@ -29,7 +35,6 @@ jobs:
- name: "Lint"
run: |
npm run manifest:firefox
npm run lint
- name: "Test"
Expand All @@ -43,7 +48,7 @@ jobs:
uses: cssnr/push-artifacts-action@master
with:
path: "tests/screenshots/"
host: ${{ secrets.ARTIFACTS_HOST }}
host: ${{ secrets.RSYNC_HOST }}
user: ${{ secrets.RSYNC_USER }}
pass: ${{ secrets.RSYNC_PASS }}
port: ${{ secrets.RSYNC_PORT }}
Expand Down
4 changes: 2 additions & 2 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"singleQuote": true,
"overrides": [
{
"files": ["**/*.html", "**/*.yaml"],
"files": ["**/*.html", "**/*.yaml", "**/*.yml"],
"options": {
"singleQuote": false
}
},
{
"files": ["**/*.json", "**/*.yaml"],
"files": ["**/*.json", "**/*.yaml", "**/*.yml"],
"options": {
"tabWidth": 2
}
Expand Down
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
[![Test](https://github.com/django-files/web-extension/actions/workflows/test.yaml/badge.svg)](https://github.com/django-files/web-extension/actions/workflows/test.yaml)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/7842944ada6b4c7ebb4f9dc83ed6a654)](https://app.codacy.com/gh/django-files/web-extension/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=django-files_web-extension&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=django-files_web-extension)
[![Discord](https://img.shields.io/discord/899171661457293343?logo=discord&logoColor=white&label=discord&color=7289da)](https://discord.gg/wXy6m2X8wY)
# Django Files Web Extension

[Chrome](https://chromewebstore.google.com/detail/django-files/abpbiefojfkekhkjnpakpekkpeibnjej) Web Extension and
Expand All @@ -23,6 +24,7 @@ and upload any Image, Video or Audio files with right click.
* [Features](#features)
* [Configure](#configure)
* [Setup](#setup)
* [Support](#support)
* [Building](#building)
* [Development](#development)

Expand Down Expand Up @@ -85,6 +87,25 @@ Right-click on any Image, Video, Audio, or URL upload to Django Files or Shorten

Alternatively, you can open the Options page and add your URL and Token.

# Support

For help using the web extension, utilize any these resources:

- Documentation: https://link-extractor.cssnr.com/docs/
- Q&A Discussion: https://github.com/cssnr/link-extractor/discussions/categories/q-a
- Request a Feature: https://github.com/cssnr/link-extractor/discussions/categories/feature-requests

If you are experiencing an issue/bug or getting unexpected results, use:

- Report an Issue: https://github.com/cssnr/link-extractor/issues
- Chat with us on Discord: https://discord.gg/wXy6m2X8wY
- Provide Anonymous Feedback: https://cssnr.github.io/feedback

Logs can be found inspecting the page (Ctrl+Shift+I), clicking on the Console, and;
Firefox: toggling Debug logs, Chrome: toggling Verbose from levels dropdown.

Note: When providing anonymous feedback there is no way to follow up and get more information unless you provide a contact method.

# Development

**Quick Start**
Expand Down
Loading

0 comments on commit 2d115d6

Please sign in to comment.