aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/discord/webview.js
Commit message (Collapse)AuthorAge
* chore: improve lint setup (#397)Libravatar MCMXC2023-07-26
| | | | | | | | | | | | | | | | | - update eslint config to closely mirror the ones from ferdium-app - add .eslintignore - opt in to eslint `reportUnusedDisableDirectives` config option - remove `trailingComma: all` from `prettier` config which is default in `prettier` v3 - autofix or disable a lot of lint issues throughout codebase - add `volta` configuration to `package.json` to autoload correct `node` and `pnpm` versions - upgrade all `eslint` and `prettier` related dependencies to latest - update lint:fix npm script - reformat touched files with prettier - bumped up minor version for all recipes that have changes - introduced injection of 'service.css' where it was missing in many recipes --------- Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
* Fix lint and prettierLibravatar André Oliveira2022-07-13
|
* Change isImage to link and stayInsideDiscord (#120)Libravatar André Oliveira2022-07-12
| | | | | * Change isImage to URL and stayInsideDiscord * Fix comments
* Fix in app URLs for discordLibravatar André Oliveira2022-07-08
|
* Fix open image in app or externally (instead of popup) (#37)Libravatar André Oliveira2022-05-31
| | | Fix #195 on Ferdium-app which causes a problem when opening images inside the discord (and possibly zoom).
* Add new service-level option 'trapLinkUrls' (#30)Libravatar Vijay Aravamudhan2022-05-23
| | | | | | This option can be used to allow the user to choose how to handle links (whether to open in the default browser or within the Ferdium service itself) Removed incorrect 'if' condition for zoom and discord for clickHandler
* Use a click-handler for slack to capture all click events and open in the ↵Libravatar Vijay A2022-05-15
| | | | same recipe webview
* Remove duplicate code and reuse 'Ferdium.openNewWindow()'Libravatar Vijay A2022-04-20
|
* Remove deprecated 'nativeWindowOpen' option from webPreferences due to ↵Libravatar Vijay A2022-04-18
| | | | upgrade of electron to '18.'
* Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)Libravatar Vijay A2022-04-18
|
* Remove deprecated webPreference flagLibravatar Vijay A2022-04-18
|
* Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)Libravatar Vijay A2022-04-17
|
* chore: use 'nativeWindowOpen' to see if this resolves issues with opening ↵Libravatar Vijay Aravamudhan2021-12-08
| | | | | browser window on clicking links (#786) (based on https://github.com/TheGoddessInari/hamsket/commit/27226145f7ac0c5acf7aa13e6c8b26687b4e1013\)
* fix: discord does not show notifications (#734)Libravatar Markus Hatvan2021-10-07
|
* fix: updated 'skype' and 'discord' to properly relinquish 'win' object for ↵Libravatar Vijay A2021-09-23
| | | | image overlay
* fix: fix js error; stylingLibravatar Vijay A2021-09-19
|
* fix: privileged API accessLibravatar Kristóf Marussy2021-09-19
| | | | | | | | Privileged browser APIs should be accessed from webview.js via the Ferdi parameter to the exported function. If any service is broken (e.g., screen sharing), then most likely we have to fix recipe.js or screenshare.js
* Fix images opening in browser instead of in Discord (#712)Libravatar Brian Kendall2021-09-15
|
* Remove dependency on 'require' of 'electron' and 'electron/remote' modules.Libravatar Vijay A2021-09-05
| | | | Instead, use the exposed content from the recipe model in main ferdi.
* refactor: Use Ferdi.safeParseInt to ensure that parsing is done consistently ↵Libravatar Vijay A2021-08-31
| | | | in all recipes.
* chore: normalized all recipes to ensure compatibility with es6 (#639)Libravatar Vijay Raghavan Aravamudhan2021-08-27
| | | | - Removed some calls to set badge with '0' all the time. - Removed all 'sourceMaps' since they are all outdated atm.
* Fix Screensharing with Discord (#625)Libravatar Maitre_Oda2021-08-26
|
* Fixed eslintrc as root for this folder; Reformatted all files.Libravatar Vijay A2021-07-31
|
* Unpack recipes and update recipes icons (#292)Libravatar Bennett2020-09-22
Co-authored-by: Amine Mouafik <amine@mouafik.fr>