Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
fcad5a6
check for modals
ilmartyrk Jul 5, 2018
36055dd
check for modals
ilmartyrk Jul 5, 2018
9ab3307
resize bug fix
ilmartyrk Aug 24, 2018
87c057e
resize always incrementing fix
ilmartyrk Sep 19, 2018
a7efabc
update child position/height check
ilmartyrk May 28, 2019
3a3e15d
Update resize functionality
ilmartyrk Apr 6, 2020
3ba2e9d
0.0.8
ilmartyrk Apr 6, 2020
514fa49
Update to work with 1.8.4
ilmartyrk Jun 9, 2020
dc6703a
Fix timeline view for EP 1.8.4
ilmartyrk Jun 26, 2020
e3da52f
Update code, add eslint
ilmartyrk Dec 1, 2020
315948d
Fix resize bug where deleting lines would not send resize message. Ca…
tiblu Apr 12, 2021
89bb096
Gitignore - https://github.com/citizenos/citizenos-fe/issues/535
tiblu Apr 12, 2021
d86a8af
Conform to EP plugin code style - https://github.com/citizenos/citize…
tiblu Apr 12, 2021
f8f23db
Pump version to 0.0.10 and publish under CitizenOS
tiblu Apr 12, 2021
c12e86b
Change repo url and pump version to 0.0.11
tiblu Apr 13, 2021
7a9ce55
FIX https://github.com/citizenos/citizenos-fe/issues/703
ilmartyrk May 6, 2021
d4f53b4
0.0.12
ilmartyrk May 6, 2021
0e1779c
FIX https://github.com/citizenos/ep_resize/issues/1
ilmartyrk May 11, 2021
f80a0c9
0.0.13
ilmartyrk May 11, 2021
2ab920d
Add npm auto publish
ilmartyrk May 17, 2021
9a15d8c
0.0.14
github-actions[bot] May 17, 2021
93d03fe
fix error in menu selectors.
Jun 24, 2021
b5512a0
Merge pull request #2 from luniki/fix-wrong-menu-selectors
ilmartyrk Jul 12, 2021
23da5a2
0.0.15
github-actions[bot] Jul 12, 2021
42779c8
Update packages
ilmartyrk Aug 12, 2021
b10c50c
0.0.16
github-actions[bot] Aug 12, 2021
67886c4
Update packages
ilmartyrk Oct 10, 2023
3360bc5
0.0.17
ilmartyrk Oct 10, 2023
d0c9c65
FIX infinite resize
ilmartyrk Oct 10, 2023
3f1b512
0.0.18
ilmartyrk Oct 10, 2023
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
83 changes: 83 additions & 0 deletions .github/workflows/npmpublish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# This workflow will run tests using node and then publish a package to the npm registry when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package

on:
pull_request:
push:
branches:
- main
- master

jobs:
test:
runs-on: ubuntu-latest
steps:
# Clone ether/etherpad-lite to ../etherpad-lite so that ep_etherpad-lite
# can be "installed" in this plugin's node_modules. The checkout v2 action
# doesn't support cloning outside of $GITHUB_WORKSPACE (see
# https://github.com/actions/checkout/issues/197), so the repo is first
# cloned to etherpad-lite then moved to ../etherpad-lite. To avoid
# conflicts with this plugin's clone, etherpad-lite must be cloned and
# moved out before this plugin's repo is cloned to $GITHUB_WORKSPACE.
- uses: actions/checkout@v2
with:
repository: ether/etherpad-lite
path: etherpad-lite
- run: mv etherpad-lite ..
# etherpad-lite has been moved outside of $GITHUB_WORKSPACE, so it is now
# safe to clone this plugin's repo to $GITHUB_WORKSPACE.
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
# All of ep_etherpad-lite's devDependencies are installed because the
# plugin might do `require('ep_etherpad-lite/node_modules/${devDep}')`.
# Eventually it would be nice to create an ESLint plugin that prohibits
# Etherpad plugins from piggybacking off of ep_etherpad-lite's
# devDependencies. If we had that, we could change this line to only
# install production dependencies.
- run: cd ../etherpad-lite/src && npm ci
- run: npm ci
# This runs some sanity checks and creates a symlink at
# node_modules/ep_etherpad-lite that points to ../../etherpad-lite/src.
# This step must be done after `npm ci` installs the plugin's dependencies
# because npm "helpfully" cleans up such symlinks. :( Installing
# ep_etherpad-lite in the plugin's node_modules prevents lint errors and
# unit test failures if the plugin does `require('ep_etherpad-lite/foo')`.
- run: npm install --no-save ep_etherpad-lite@file:../etherpad-lite/src
- run: npm test
- run: npm run lint

publish-npm:
if: github.event_name == 'push'
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: git config user.name 'github-actions[bot]'
- run: git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
- run: npm ci
- run: npm version patch
- run: git push --follow-tags
# `npm publish` must come after `git push` otherwise there is a race
# condition: If two PRs are merged back-to-back then master/main will be
# updated with the commits from the second PR before the first PR's
# workflow has a chance to push the commit generated by `npm version
# patch`. This causes the first PR's `git push` step to fail after the
# package has already been published, which in turn will cause all future
# workflow runs to fail because they will all attempt to use the same
# already-used version number. By running `npm publish` after `git push`,
# back-to-back merges will cause the first merge's workflow to fail but
# the second's will succeed.
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

##ETHERPAD_NPM_V=2
## NPM configuration automatically created using src/bin/plugins/updateAllPluginsScript.sh
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
*.iml
*.swp
/.idea/*
.ep_initialized
.ep_initialized
node_modules
3 changes: 2 additions & 1 deletion ep.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
{
"name": "ep_resize",
"client_hooks": {
"aceEditorCSS": "ep_resize/static/js/index",
"aceEditEvent": "ep_resize/static/js/index:aceEditEvent",
"goToRevisionEvent": "ep_resize/static/js/index"
}
}
]
}
}
Loading