Commit Graph

2084 Commits

Author SHA1 Message Date
Guillermo Vayá
0b05f0e00c allow webpack to resolve .json (#1672) 2021-07-26 15:43:02 +02:00
Guillermo Vayá
d77c823bd5 [MM-36747] Spellchecker custom urls (cherrypick to TS) (#1669)
* [MM-36747] Allow users to specify spellchecker url for downloading dictionaries

* fix settings keys

Co-authored-by: = <=>
2021-07-26 09:28:49 -04:00
=
f5ca0f9ef5 remove memoization 2021-07-23 17:15:35 +02:00
Guillermo Vayá
4e75007362 [Mm 37198] enable global sandboxing to increase security (#1667)
* prevent creating new windows from popup windows

* enable sandbox

* fix windows detection logic

* disable on testing environment

Co-authored-by: = <=>
2021-07-23 16:07:48 +02:00
Devin Binnie
c567449854 [MM-36753] Revert to Electron v12.0.1 (#1665) 2021-07-21 16:47:29 -04:00
Devin Binnie
d3599fc500 [MM-36431] Logic to support multiple configurable tabs per server (#1655)
* Updated config, added types and classes for messaging tab

* Working app with tabs and servers

* Remainder of logic

* Make base tab abstract class

* Account for new app case

* Merge'd

* PR feedback
2021-07-20 09:05:53 -04:00
Devin Binnie
29a049e8ae [MM-36998] Ensure server key must be at least 0 (#1660) 2021-07-19 11:29:38 -04:00
Guillermo Vayá
ccd515e50c fix crash on invalid download paths (#1662)
Co-authored-by: = <=>
2021-07-19 17:26:37 +02:00
Devin Binnie
e71c4ff9f0 [MM-36459] Drag and drop for dropdown (#1651)
* [MM-36459] Drag and drop for dropdown

* CircleCI build

* Drag and drop feedback from UX

* PR feedback

* PR feedback
2021-07-14 16:29:35 -04:00
Guillermo Vayá
26ca8ccefc disable gpu before app inits (#1654)
Co-authored-by: = <=>
2021-07-13 18:23:05 +02:00
Devin Binnie
ee1b393e3d Bootstrap v4 dark mode for modals and settings window (#1650)
* Bootstrap v4 dark mode for modals and settings window

* Fix package-lock.json

* Fix package-lock.json again

* Merge'd

* Oops

* Refactor into helper
2021-07-09 17:19:49 -04:00
Devin Binnie
880af87ddf [MM-36421] Replace server tabs with dropdown menu (#1647)
* WIP

* WIP

* PoC for dropdown - logic stuff

* Most of the logic for the dropdown

* Working dropdown menu to pick servers

* Mentions, unreads and expired working. Many styles are working.

* Some more styles

* Dark mode and other stuff

* Some cleanup

* Generate build

* PR feedback

* More PR feedback
2021-07-07 18:49:48 -04:00
Devin Binnie
4130c2c37d React bootstrap upgrade to v1, migrate to react-beautiful-dnd (#1639)
* Upgrade packages, fix errors, still WIP

* WIP

* Bootstrap v4 upgrade

* Switch to react-beautiful-dnd

* Fixed some issues

* Added to generate signed Mac build for UX

* PR feedback

* Missed one

* PR feedback
2021-07-05 21:19:11 -04:00
Sayanta Banerjee
86a3f13a6b Update README.md (#1641) 2021-06-29 17:30:20 +02:00
Devin Binnie
1b3d0eac8f Migrate app to TypeScript (#1637)
* Initial setup and migrated src/common

* WIP

* WIP

* WIP

* Main module basically finished

* Renderer process migrated

* Added CI step and some fixes

* Fixed remainder of issues and added proper ESLint config

* Fixed a couple issues

* Progress!

* Some more fixes

* Fixed a test

* Fix build step

* PR feedback
2021-06-28 09:51:23 -04:00
Devin Binnie
422673a740 [MM-36543] Check for webcontents before trying to load url in case tab was removed (#1633) 2021-06-21 08:48:31 -04:00
Guillermo Vayá
62a0d148ec [MM-30147] [MM-30146] fix loading path for cert modal (#1630)
* fix loading path for cert modal

* fix linting
2021-06-16 16:35:12 +02:00
Guillermo Vayá
2f65c987e1 [MM-35581] fix m1 rename not being persisted, add rpm to release (#1626)
* fix m1 rename not being persisted, add rpm to release

* testing, revert after test

* Revert "testing, revert after test"

This reverts commit 70dc9a702b0d166c159c30add836c695e7fdd278.
2021-06-11 19:59:35 +02:00
Devin Binnie
46ffece3ed [MM-36030] Allow for duplicate servers with different names to behave normally (#1628) 2021-06-10 11:33:52 -04:00
Guillermo Vayá
3aaf1797aa [MM-36340] fix linux theme comparison (#1627) 2021-06-10 09:36:51 -04:00
Guillermo Vayá
92906248ba [MM-35581] Rename arm64 to m1 (#1620)
* add rename

* remove check so we can test it

* revert testing changes

Co-authored-by: = <=>
2021-06-09 10:57:45 +02:00
Guillermo Vayá
fa363d7db8 update to v12.0.10 (#1619) 2021-06-08 11:24:34 +02:00
Elsie Hupp
6b17f30d35 [GH-317] Correct size for Linux tray icons (#1595)
Signed-off-by: Elsie Hupp <9206310+elsiehupp@users.noreply.github.com>
2021-06-07 17:11:20 +02:00
Devin Binnie
9eb61c6cc0 [MM-35984] Make sure Select Downloads Folder dialog always uses the default location if none is selected (#1613) 2021-05-26 10:15:04 -04:00
Devin Binnie
eecadb9c46 [MM-35662] Added media-src tag to CSP to allow data blobs to play for notification sounds (#1612) 2021-05-26 10:08:34 -04:00
Sven Hüster
8481ca7e33 add rpm build option to electron builder (#1611) 2021-05-26 10:22:51 +02:00
Devin Binnie
98cf5d25df [MM-35781] Another workaround for Linux resizing (#1608) 2021-05-19 17:45:15 -04:00
Devin Binnie
4fdcaf66a3 [MM-35811][MM-35386] Upgrade to Electron 12 (#1604)
* Upgrade to Electron 12

* Fix lock file

* Update package.json

Co-authored-by: Guillermo Vayá <guivaya@gmail.com>

* Upgrade spectron

Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
2021-05-19 09:40:12 -04:00
Devin Binnie
22449fb081 [MM-35131] Don't set the download location in config if we hit Cancel (#1600) 2021-05-14 09:16:23 -04:00
Devin Binnie
15a020a726 [MM-35588] Ensure that the window exists before calling minimize/maximize/reload (#1598) 2021-05-11 16:10:29 -04:00
Guillermo Vayá
47f36294b8 Windows tray theme (#1593)
* images

* use expected theme on windows

* fix shadowing

Co-authored-by: = <=>
2021-05-10 18:52:23 +02:00
Devin Binnie
3395f7ae4c [MM-19510][MM-19511] Remove ToastActivatorCLSID from Start Menu shortcut on Windows (#1590)
* [MM-19510][MM-19511] Remove ToastActivatorCLSID from Start Menu shortcut on Windows

* Temporarily modify config.yml to run test msi build

* Try again

* Nope

* have store artifacts wait for the msi

* Reverting to see if it's CircleCI or my change causing the issue:

This reverts commit b289f70a643e6697948d7487ea29346a792868ab.

* Revert "Reverting to see if it's CircleCI or my change causing the issue:"

This reverts commit 41f10c281acba914629c9366816ce89fdc43c525.

* Remove changes to circleCI build

* Blank space

Co-authored-by: Guillermo Vaya <guivaya@gmail.com>
2021-05-07 17:27:00 -04:00
Devin Binnie
75567342c1 [MM-35249] Set window bounds on initial load success (#1587) 2021-05-06 09:27:27 -04:00
Devin Binnie
7d333dfe8f [MM-35245] Null check to prevent console error in preload script on unloaded server (#1582) 2021-05-05 17:14:42 -04:00
Devin Binnie
87bbad13fa [MM-35454] Fix default downloads path for Windows and Linux, only set for the app if the path is not blank (#1583)
* [MM-35454] Fix default downloads path for Windows and Linux, only set for the app if the path is not blank

* Default all other OSes other than Mac/Windows to unix standard
2021-05-05 12:54:21 -04:00
Guillermo Vayá
61c668d77b fix wrong folder name for s3_daily (#1584) 2021-05-05 18:41:03 +02:00
Guillermo Vayá
e2cd6a54e3 [MM-35386] Upgrade electron (#1580)
* remove unneeded dep

* upgrade electron
2021-05-04 16:16:52 +02:00
Guillermo Vaya
273862874c fix apt install 2021-05-03 22:12:30 +02:00
Devin Binnie
4dd731d01b [MM-35131] Set default app downloads path to specified path in config (#1574) 2021-04-30 09:44:42 -04:00
Amy Blais
0f0260c304 Update NOTICE.txt (#1573) 2021-04-29 17:37:28 +02:00
Guillermo Vayá
f4e2d91a3b [MM-35278] Remove dependency libappindicator1 (#1572)
* [MM-35278] Remove dependency libappindicator1

* fix key position

* typo
2021-04-29 10:47:27 +02:00
Devin Binnie
ad6c1064da [MM-35171] Use modified default user agent string instead of hardcoded (#1571) 2021-04-28 22:18:25 -04:00
Guillermo Vayá
8b53554753 make daily links in s3 look always the same to help with rainforest (#1568) 2021-04-27 10:42:26 +02:00
Guillermo Vayá
9e5dfd6946 fix help message spacing (#1564) 2021-04-26 15:01:01 +02:00
Devin Binnie
f4f64c50a9 [MM-34836] Cleanse URLs of extra slashes on parsing, and add the image proxy case (#1560)
* [MM-34836] Cleanse URLs of extra slashes on parsing, and add the image proxy case

* Added unit tests
2021-04-23 11:01:12 -04:00
Guillermo Vayá
7211848cad add beta template (#1561) 2021-04-22 17:57:25 +02:00
Guillermo Vayá
e15e0a85a3 [MM-35010] Fix m1 release pipeline (#1559)
* copy build results to the rest of the pipeline

* remove this commit before merging into master

* Revert "remove this commit before merging into master"

This reverts commit 87392e0029927fd5c9e697b84d15c9b187223128.
2021-04-22 12:50:31 +02:00
Carlos Tadeu Panato Junior
69b67e6997 add PR/Issue template and release notes section in the PR template (#1536) 2021-04-21 11:08:33 +02:00
Guillermo Vayá
9513f33a3c add quarantine to plist (#1558) 2021-04-21 09:32:02 +02:00
Devin Binnie
bdaa710b7e [MM-34884] Only call show() on an existing mainWindow if the window is actually closed or hidden (#1552) 2021-04-20 09:35:46 -04:00