Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
c45ad8e
Add bulk move
optimisan May 7, 2022
46aa5ef
Fix disable jquery implementation
optimisan May 8, 2022
c68b16d
Fix textbox
optimisan May 8, 2022
5a20ebd
Update README.md
optimisan Apr 10, 2023
3869813
Update to MV3
optimisan Nov 29, 2023
4055cbb
Persist notes
optimisan Nov 29, 2023
4d6d5d8
Add feat: Station tracking
optimisan Nov 29, 2023
f5dcf82
Merge branch 'master' into mv3
optimisan Nov 29, 2023
629ed9f
Merge branch 'mv3'
optimisan Nov 29, 2023
39d1a93
clean up comments
optimisan Nov 29, 2023
540bd3e
clean up comments
optimisan Nov 29, 2023
826d246
Merge branch 'master' of https://github.com/Akshat-Oke/ps-extender
optimisan Nov 29, 2023
340028f
Update README
optimisan Nov 29, 2023
e4c17ed
Update README
optimisan Nov 29, 2023
973c5d3
Merge branch 'master' of https://github.com/Akshat-Oke/ps-extender
optimisan Nov 29, 2023
89a3a71
Merge branch 'master' of https://github.com/Akshat-Oke/ps-extender
optimisan Nov 29, 2023
068840d
Merge branch 'master' of https://github.com/Akshat-Oke/ps-extender
optimisan Nov 29, 2023
0d26268
Add confirm before page reload
optimisan Nov 30, 2023
2b7f3a8
Correct placeholder: 1-based input, 0-based index
optimisan Nov 30, 2023
2ae8e2f
Cache station info
optimisan Nov 30, 2023
88ddaf6
Auto fill cached info
optimisan Nov 30, 2023
a12918e
Port to firefox
optimisan Nov 30, 2023
6676dad
Add firefox build action
optimisan Nov 30, 2023
e05f19c
Add firefox build action
optimisan Nov 30, 2023
4efe473
Merge branch 'firefox' of https://github.com/Akshat-Oke/ps-extender i…
optimisan Nov 30, 2023
71acfe0
Fix confirm on page leave
optimisan Nov 30, 2023
48ced6c
Add firefox action
optimisan Dec 1, 2023
48f0a6b
Add firefox action
optimisan Dec 1, 2023
366caa7
Merge branch 'firefox' of https://github.com/Akshat-Oke/ps-extender i…
optimisan Dec 1, 2023
92e1c92
Merge firefox and chrome in one
optimisan Dec 1, 2023
b33b7a4
Merge branch 'master' into firefox
optimisan Dec 1, 2023
8c9b34f
Refactor: chrome and firefox in one
optimisan Dec 1, 2023
87fdc92
Update github actions
optimisan Dec 1, 2023
2adb163
Fix build config
optimisan Dec 2, 2023
ababf75
Update README with installation steps
optimisan Mar 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
name: Create Archive
on:
on:
push:
branches:
- 'master'
- "master"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@master

- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"

- name: install dependencies
run: npm ci
- name: install dependencies
run: npm ci

- name: build extension
run: npm run build
- name: build extension
run: npm run build:chrome

- name: generate archive
run: (cd dist && zip -r ../PSExtender.zip .)
- name: generate archive
run: (cd dist && zip -r ../PSExtender.zip .)

- name: create release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest
prerelease: true
title: Development Build
files: |
PSExtender.zip
- name: create release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest_chrome
prerelease: true
title: Development Build For Chrome
files: |
PSExtender.zip
34 changes: 34 additions & 0 deletions .github/workflows/release_firefox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Create Archive
on:
push:
branches:
- "master"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"

- name: install dependencies
run: npm ci

- name: build extension
run: npm run build:firefox

- name: generate archive
run: (cd dist && zip -r ../PSExtender.zip .)

- name: create release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest_firefox
prerelease: true
title: Development Build For Firefox
files: |
PSExtender.zip
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
dist
.DS_Store
.DS_Store
dist_firefox
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div align="center">
<a href="http://psd.bits-pilani.ac.in/">
<img src="./public/icon.png" alt="BITS Pilani" width="120" height="120" />
<img src="./public/shared/icon.png" alt="BITS Pilani" width="120" height="120" />
</a>
<br /><br />
<h1><code>PSD Extender</code></h1>
Expand All @@ -23,15 +23,20 @@

👉 Add notes

👉 Alert new stations added since last visit

👉 Removes the default jQuery implementation on the website

![Screenshot of the preference page with this extension enabled](.github/images/screenshot.png)

## 🎓 Usage

The easiest way to use this is to install is using webstore [here](http://bit.ly/ps-extender). For some reason, if you want to set it up manually:
~~The easiest way to use this is to install is using webstore [here](http://bit.ly/ps-extender). For some reason, if you want to set it up manually:~~
This extension is not available on the Chrome Web Store presently. You can install it manually by following the steps below:

### Installing in Chrome

1. Download the latest version of `PSExtender.zip` from [Releases](https://github.com/mehulmpt/ps-extender/releases)
1. Download the latest version of `PSExtender.zip` from Releases -> [latest_chrome](https://github.com/Akshat-Oke/ps-extender/tags)
1. Unzip this folder
1. Type [`chrome://extensions/`](chrome://extensions/) in your URL
1. Enable Developer Mode (top-right)
Expand All @@ -40,6 +45,14 @@ The easiest way to use this is to install is using webstore [here](http://bit.ly
1. Visit/Refresh your PSD page and click on the extension icon in your toolbar
1. You should now see an interface with the controls

### [Installing in Firefox](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension#installing)

1. Download the latest version from Releases -> [latest_firefox](https://github.com/Akshat-Oke/ps-extender/tags)
2. Enter the URL `about:debugging` in the address bar and click the `This Firefox` option to the left.
3. Click the `Load Temporary Add-on` button, then select any file in your extension's directory.

The extension now installs, and remains installed until you restart Firefox.

## Setup

- run `npm install` to install dependencies
Expand All @@ -48,6 +61,9 @@ The easiest way to use this is to install is using webstore [here](http://bit.ly
- run `npm run build` to build once. refresh browser and rerun extension.
- run `npm run build:watch` to watch for changes and build automatically. refresh and rerun.
- run `npm run dev` to test the extension on a local copy of the page (no need to install the extension). Auto-reloads
- run `npm run build:chrome` to build for chrome (in `dist` folder)
- run `npm run build:firefox` to build for firefox (in `dist` folder)
- run `npm run start:firefox` to build and run the extension in firefox (using `web-ext`)

## 🚀 Contributing

Expand Down
Loading