Commit graph

276 commits

Author SHA1 Message Date
smartfrigde
f4b394ecd4 Add spellcheck option 2023-05-13 23:48:11 +02:00
smartfrigde
a90b348443 Fix start minimized 2023-05-13 23:31:31 +02:00
smartfrigde
b1cb66e587 Fix theme settings corrupting 2023-05-13 23:11:09 +02:00
smartfrigde
51018b108a Update to new desktop icon 2023-05-13 22:53:48 +02:00
smartfrigde
017ee7b430 Change default window size to fit QR login 2023-05-13 22:42:35 +02:00
smartfrigde
a07546f28e Add theme manager 2023-05-13 22:09:36 +02:00
Alyxia Sother
a2a997df30
[*] ESLint: The Lintening (#393)
* [*] ESLint: The Lintening

* Missed a couple unused vals in utils

* [*] Tend to DeepScan remarks

* [*] sigh, remove some duplicate crap
2023-05-08 21:24:30 +02:00
smartfrigde
08c4cb0a63 Add a way to set config in cli 2023-04-25 10:57:49 +02:00
BMT
66821e2dce
Allow Canary and PTB to use window popout (#372)
* Update window.ts

allow popout window for canary and ptb as they are selectable via armcord settings

* Update window.ts

fixed because i forget
2023-04-06 21:41:33 +02:00
Oro
b42e4d91ea
Comment out any Linux and Wayland checks (#356)
* Redo the Wayland checks for Linux

* Update the Wayland window decorations comments

* Nit: don't nest if checks, update some comments

* Nit: stricter env var checks

* toLowerCase() on Wayland/Linux string checks

* Use toLowerCase() properly

Co-authored-by: Ven <vendicated@riseup.net>

* Don't use toLowerCase() on XDG_SESSION_TYPE

* Null safety for XDG_SESSION_TYPE and toLowerCase

* Change how appendSwitch is used

* Forgot the quotes

* When the platform is Linux, it will always be lowercase

Co-authored-by: unlwly <x57luw@gmail.com>

* Comment out any Linux and Wayland checks

They were nonfunctioning anyways.

---------

Co-authored-by: Ven <vendicated@riseup.net>
Co-authored-by: unlwly <x57luw@gmail.com>
2023-03-09 16:50:17 +01:00
smartfridge
cc9bd3d8e7 Fix arRPC 2023-02-26 12:37:26 +01:00
smartfridge
f936382830 Fix arRPC 2023-02-25 21:37:45 +01:00
smartfridge
74598f2ed8 Update arRPC and add MS Store assets 2023-02-25 19:08:21 +01:00
smartfridge
f8d7ca68fa
Revert "Redo the Wayland checks for Linux (#327)" (#338)
This reverts commit a66f477af6.
2023-01-24 19:54:18 +01:00
Oro
a66f477af6
Redo the Wayland checks for Linux (#327)
* Redo the Wayland checks for Linux

* Update the Wayland window decorations comments

* Nit: don't nest if checks, update some comments

* Nit: stricter env var checks

* toLowerCase() on Wayland/Linux string checks

* Use toLowerCase() properly

Co-authored-by: Ven <vendicated@riseup.net>

* Don't use toLowerCase() on XDG_SESSION_TYPE

* Null safety for XDG_SESSION_TYPE and toLowerCase

Co-authored-by: Ven <vendicated@riseup.net>
2023-01-24 10:29:57 +01:00
smartfrigde
70ba007e46 Use unified-acrylic 2023-01-11 20:00:28 +01:00
Ven
fe78be06d2
Fix settings injection on canary (#326)
* Fix settings injection on canary

* Put sideeffects up again
2023-01-07 08:49:04 +01:00
smartfrigde
34daa1888c temp fix: settings load english specific css 2022-12-31 16:27:42 +01:00
smartfridge
6355082718 USE_WAYLAND env value handler 2022-12-27 16:12:34 +01:00
smartfridge
7463856b63 Add dynamic icon option 2022-12-27 11:34:26 +01:00
Ven
7822317d3a
rewrite science block, also block cloudflare nel & sentry (#317)
* rewrite science block, also block cloudflare nel

* Kill unused import
2022-12-26 23:29:29 +01:00
smartfridge
55fd573599 Add apt repo to readme 2022-12-26 18:28:15 +01:00
smartfridge
09fcd77803 Add a way to enable legacy capturer 2022-12-25 21:43:35 +01:00
smartfridge
2dec7c21dc Update mod loader install logic 2022-12-25 21:06:07 +01:00
smartfridge
f9dbd884b3 Add css bundle download for mods 2022-12-25 20:47:25 +01:00
smartfridge
334d28542f Tweak screensharing 2022-12-25 19:27:21 +01:00
smartfridge
8e16371521 Make ArmCord not cpu bomb on splash 2022-12-25 19:27:21 +01:00
smartfridge
9b6175ca6d Rewrite capturer 2022-12-25 13:33:22 +01:00
smartfridge
e0313c01dd Remove Hummus support 2022-12-24 20:24:27 +01:00
smartfridge
3339a4ca1b Remove download apps notice 2022-12-24 19:54:05 +01:00
smartfridge
9ead560115 remove unwanted css 2022-12-24 19:51:11 +01:00
smartfridge
8cdfac0367 Fix first-time setup 2022-12-24 19:46:58 +01:00
smartfridge
1e6e6900d4 Update dev build check 2022-12-24 19:41:01 +01:00
smartfridge
3bc47753e6
Disable download apps button 2022-12-18 20:23:50 +01:00
Christopher Snowhill
969d1c3662
Fix environment access for Linux Wayland patches (#304) 2022-12-17 10:06:40 +01:00
TymanWasTaken
fd5f7f78cf
Fix url logic (#300) 2022-12-14 05:36:09 +00:00
smartfridge
f9fd95ac6f Make Windows tray icon look better 2022-12-13 20:30:00 +01:00
smartfridge
147f361341 Fix Windows tray ico scaling 2022-12-13 20:23:17 +01:00
smartfridge
6966219255 Add Windows icon scaling 2022-12-13 20:21:27 +01:00
Octopus Hugger
63db76cd7e
Avoid window creation/init if 2nd instance (#297)
* fix first instance not showing when opening 2nd

* Avoid window creation/init if 2nd instance

* fix white flash on startup, add en-us transparent entry for future use

* fix white flash for settings window too

Co-authored-by: octopushugger <octopushugger@github.com>
2022-12-13 19:45:21 +01:00
Ven
18ba2ec477
Fix github raw css links, make jsons human readable (#299) 2022-12-13 19:02:28 +01:00
smartfridge
1f369dae11 Add disable autogain 2022-12-13 15:11:44 +01:00
smartfridge
c8c4e1a877 Add local crash reporter 2022-12-13 14:10:41 +01:00
smartfridge
f8c785e9b3 Add start minimized option 2022-12-13 13:13:25 +01:00
smartfridge
931e5df2f0 Allow stream popouts 2022-12-13 11:03:21 +01:00
smartfridge
6c8eb71d46 Enable titlebar fix 2022-12-13 11:03:21 +01:00
Octopus Hugger
5bcbbacee1
fix first instance not showing when opening 2nd (#296)
Co-authored-by: octopushugger <octopushugger@github.com>
2022-12-12 15:54:56 +01:00
Cain Atkinson
5610f372bf
Fully remove CSP as opposed to setting custom policies (#293)
* Just remove CSP instead of trying to work with it

* Simplify CSP removal further
2022-12-11 18:59:33 +01:00
smartfridge
ea20492372 Fix skip splash 2022-12-10 20:33:35 +01:00
smartfridge
d8af912faf Remove useless log in RPC 2022-12-10 19:22:05 +01:00
smartfridge
254ba93433
Update Window state manager (#291)
* Update Window state

* Add x/y state saving
2022-12-10 19:01:47 +01:00
aeongdesu
e2fc0c6401
Update arrpc to 3.0.0 (#284) 2022-12-10 09:40:14 +00:00
KayoticCarnige
af1f2f2e1c
Update discord.css (#285) 2022-12-10 09:39:35 +00:00
Remty5
378fef1a0e
Add portable mode (#280) 2022-12-03 16:21:25 +00:00
Justice Almanzar
70e5b7673d
feat(csp): allow blob and data uri workers (#271)
* allow unsafe worker-src

* modify child-src instead

* safer csp handling
2022-11-28 10:24:10 +00:00
Ven
d92da1c3d0
settings cleanup (#266)
* settings cleanup

* translate more texts

* Move all strings

* Fix broken switches
2022-11-25 12:12:14 +01:00
smartfridge
e6df2b0ecf Make invite socket use arrpc 2022-11-22 15:34:24 +01:00
smartfridge
d7a318d5c3 Update arrpc to 2.2.0 2022-11-22 15:03:54 +01:00
smartfridge
afa83c782d Add mod bundle update skip 2022-11-21 16:25:11 +01:00
Ven
a4968e7529
Make clicking notifications focus ArmCord (#262) 2022-11-21 06:50:45 +01:00
Ven
ed775cbf31
Fix npm format script (#261) 2022-11-21 06:50:21 +01:00
Ven
c5ce910940
Fix csp (Vencord QuickCss & dynamic imports) (#260) 2022-11-21 06:50:09 +01:00
Ven
fbeffdb166
Add missing BrowserWindow import; bump deps (#258) 2022-11-20 20:46:37 +01:00
smartfridge
17c05fedd3
Fix dev tools 2022-11-20 19:25:34 +01:00
smartfridge
ddac01ee8f Update arRPC 2022-11-20 13:48:07 +01:00
smartfridge
598ac2eb2f
Delete .npmrc 2022-11-20 00:41:44 +01:00
CanadaHonk
235015bd24
Rename Invite Websocket setting to Rich Presence (#257) 2022-11-19 23:53:11 +01:00
smartfridge
a0e0f6a516 Add experimental arrpc 2022-11-19 23:15:05 +01:00
smartfridge
dac886ecbd Windows on ARM CI 2022-11-19 20:00:56 +01:00
smartfridge
e5ab7a7232 Update transparency stuff 2022-11-19 19:32:46 +01:00
Ven
a3eea0b6ca
Fix about:blank popups (Vencord QuickCss) (#256) 2022-11-19 19:04:14 +01:00
smartfridge
5d80d44fc8 Re-add client mods (vencord, shelter) 2022-11-19 18:23:28 +01:00
Ven
842b6e8c5d
Keybinds fixes (Zoom & DevTools now consistent with chrome/discord desktop) (#254) 2022-11-17 21:23:55 +01:00
kz-n
3696ebdba9
Add dynamic vibe import only on windows (#227) 2022-10-12 21:35:32 +02:00
smartfridge
f523f92367 Add transparency option 2022-10-08 17:43:08 +02:00
smartfrigde
7b25fc70c9 Move away from using webpack for gettign lang 2022-09-27 13:04:18 +00:00
smartfrigde
4613f77f30 Remove EOL mods 2022-09-27 11:11:56 +00:00
smartfridge
7e9e43fa6a
Add single-instance 2022-09-25 20:31:29 +02:00
KayoticCarnige
f57fe11769
A few things (#199)
* 2 new things (Read desc.)

- Cleaned up ASAR packaging, ignoring unneeded files for building
- Moved install location for Windows users ("AppData\Local\Programs" -> "AppData\Local"

* 3 things (Read desc.)

- Updated things related to Hummus (Hummus settings don't save nor load in it's respective settings window yet, idk why)
- Added check for package version (ArmCord's internal version)
- Made check for Kernel mod a bit cleaner, it still uses the same jank method

* 3 things

- Made macOS titlebar more accurate to Discord
- Added "unFocused" class when window isn't focused
- Added option to uninstall Husky hook for Windows users with reminder to run format script before committing

* Resolved a dumb issue

My dumbass not knowing the "echo" command existed smh

* Made "precommit-fix" warning more noticable

* Whoops

* Fixed a CSS bug

Discord updates are gonna hate us, huh?

* 4 things (Formatted)

- Updated coding for getting the current version
- Updated some context menu and tray stuff
- Added current version to the title of the settings window
- Added the ability to restart the app within the settings

* A few things

- Updated tray menu to include the tray icon infront of the ArmCord version
- Updated MacOS titlebar to not be broken in setup
- Polished settings menu a bit
- Polished the Discord tray icon
- Added the Classic Discord icon as tray icon option
2022-09-25 20:30:09 +02:00
smartfridge
8454a6d579 Add DuckDuckGo search 2022-08-25 18:40:43 +02:00
smartfridge
5c109f530b Add custom icon 2022-08-25 16:42:54 +02:00
smartfridge
75276dee90 Update Electron 2022-08-25 16:10:26 +02:00
smartfridge
99417c3d29 Add tray icon ping icon 2022-08-25 14:57:41 +02:00
smartfridge
77b5455139 Add zoom controls back and open settings 2022-08-24 17:27:44 +02:00
KayoticCarnige
fb6348ee82
(Attempt 2) A bunch of shit (#175)
* 2 new things (Read desc.)

- Cleaned up ASAR packaging, ignoring unneeded files for building
- Moved install location for Windows users ("AppData\Local\Programs" -> "AppData\Local"

* 3 things (Read desc.)

- Updated things related to Hummus (Hummus settings don't save nor load in it's respective settings window yet, idk why)
- Added check for package version (ArmCord's internal version)
- Made check for Kernel mod a bit cleaner, it still uses the same jank method

* 3 things

- Made macOS titlebar more accurate to Discord
- Added "unFocused" class when window isn't focused
- Added option to uninstall Husky hook for Windows users with reminder to run format script before committing

* Resolved a dumb issue

My dumbass not knowing the "echo" command existed smh

* Made "precommit-fix" warning more noticable

* Whoops

* Fixed a CSS bug

Discord updates are gonna hate us, huh?
2022-08-22 11:24:55 +02:00
smartfridge
6138281e4c Move Licensing header under imports 2022-07-25 10:37:01 +02:00
smartfridge
0fb71dfe2b Add Cordwood, better Hummus support and skip splash 2022-07-18 17:13:52 +02:00
smartfridge
9717eaedb1 Add description strings to i18n 2022-07-16 11:31:34 +02:00
smartfridge
e48500f00e Merge remote-tracking branch 'origin/dev' into dev 2022-07-15 23:04:14 +02:00
smartfridge
52bca257f8 Add floating settings button and few new options 2022-07-15 23:04:00 +02:00
smartfridge
414c7d120f Fix alternative paste 2022-07-15 11:17:42 +02:00
KayoticCarnige
0c34328f43 Whoops 2022-07-14 17:47:30 -04:00
KayoticCarnige
fbca68d8b5 Fixed an issue with the custom titlebar 2022-07-14 17:34:16 -04:00
smartfridge
33b2b05792 Finish settings redesign 2022-07-14 22:37:33 +02:00
smartfridge
3e2efad943 Add alternative paste setting 2022-07-14 20:37:03 +02:00
smartfridge
a1f91d4d89 Redesign settings 2022-07-14 19:46:01 +02:00
smartfridge
c933981420 Add fixes for pasting images using keyboard shortcuts 2022-07-14 17:25:59 +02:00
smartfridge
83b4f75e87 Add experimental Hummus support 2022-07-12 16:10:41 +02:00
smartfridge
5b509d948f code cleanup part 2 2022-07-11 21:42:35 +02:00
smartfridge
0ebaa5627e code cleanup 2022-07-11 20:19:50 +02:00
smartfridge
d6cbbcba7d Add mobile mode 2022-07-11 19:17:46 +02:00
smartfrigde
927f498872 Move to armcord.xyz for loading files 2022-07-08 19:40:08 +02:00
smartfrigde
033e5b7973 Forgot to remove debug thing 2022-07-05 19:02:49 +02:00
smartfrigde
5d19f1844b cleaning up 2022-07-05 18:34:53 +02:00
KayoticCarnige
efbccabd4c Style overhaul and fully implemented titlebars
Dev note: Titlebars are still a WIP for Linux, using the native theme is recommended for now on Linux
2022-07-04 10:39:22 -04:00
smartfrigde
9efce82462 Add fallback to English 2022-06-17 09:37:18 +02:00
smartfrigde
a216475618 Add theme loader 2022-06-16 23:09:41 +02:00
smartfrigde
b7a0d1face formatting 2022-06-16 17:31:57 +02:00
smartfrigde
0b165e64bc Remove left over from tabs in armcord api 2022-06-16 17:31:57 +02:00
smartfrigde
86f885c41f Add window state manager 2022-06-16 17:25:09 +02:00
smartfrigde
a29cb2a6a5 Add translation loading to splash 2022-06-14 17:54:50 +02:00
smartfrigde
c979328aee Remove glasstron and tabs completely 2022-06-14 17:02:37 +02:00
smartfrigde
8d85591e1c Change default tray icon for macOS to avoid issues 2022-06-14 16:49:12 +02:00
smartfrigde
c6e2244ce8 Move attribute logic to main 2022-06-14 16:30:18 +02:00
smartfrigde
e86b1a8924 Don't remove the getLang handler 2022-06-14 14:55:47 +02:00
smartfrigde
ef73af66c4 Move the getLang handler to main ipc module instead of storing it in settings 2022-06-14 14:54:34 +02:00
smartfrigde
bdb09bb912 Remove unwanted getLang handlers 2022-06-14 14:53:26 +02:00
smartfrigde
7f53710d6a Remove unused import 2022-06-12 22:17:09 +02:00
smartfrigde
0a7ec74b0f I forgot to uncomment a function 2022-06-12 21:03:58 +02:00
smartfrigde
86c3636a19 Add setup translation loading 2022-06-12 20:59:59 +02:00
smartfrigde
994ab5f5b0 Add fallback to English US if language doesn't exist 2022-06-12 13:32:54 +02:00
smartfrigde
f9bfed7585 Add translation loading for settings 2022-06-12 13:18:31 +02:00
smartfrigde
fa24b7996f Add language detection from Discord 2022-06-11 22:14:33 +02:00
smartfrigde
b43a992027 Tweak translations a bit 2022-06-10 23:22:32 +02:00
smartfrigde
98f88f4609 Fix icon loading 2022-06-10 20:46:30 +02:00
smartfrigde
81377d3657 Add performance mode 2022-06-10 20:27:37 +02:00
KayoticCarnige
40d743d0e2 Fixed "null" bug
Fixed "null" bug, where on Windows, Discord wouldn't recognize the OS (Only tested onw Windows 10)
2022-06-03 12:05:28 -04:00
smartfrigde
54b1481a4e Update WindowOpenHandler to be much more secure 2022-06-03 15:18:36 +02:00
smartfrigde
af84a2a625 Add a license header for OpenAsar version settings/version info injection 2022-05-23 15:42:13 +02:00
KayoticCarnige
31c5a88e94 Updated README.md 2022-05-22 12:14:54 -04:00
smartfrigde
b025948d90 Add the ability to pick the tray icon 2022-05-22 16:46:18 +02:00
KayoticCarnige
12c195a2fa Updated titlebar and a few other things 2022-05-22 07:52:26 -04:00
smartfrigde
b1aac435e6 Remove the remainings from auto launch 2022-05-14 21:39:58 +02:00
smartfrigde
d2eeb054d4 Remove auto launch 2022-05-14 21:33:43 +02:00
smartfrigde
22343e00ed Fix path finding for auto-launch 2022-05-14 21:12:16 +02:00
smartfrigde
5893f5bea9 Add auto-launch and bunch of other things 2022-05-14 21:02:09 +02:00
smartfrigde
6663b6de5f Add missing setting to setup and settings menu 2022-05-14 20:00:33 +02:00
smartfrigde
1222a37a44 Fix image pasting 2022-05-14 19:55:06 +02:00
Alyxia Sother
eca41529d4
Re-do the setup page (#98) 2022-04-24 14:49:16 +02:00
Alyxia Sother
a69e617660
Merge branch 'dev' of git-a:ArmCord/ArmCord into dev 2022-04-22 22:21:36 +02:00
Alyxia Sother
73347d557e
Skip updater if running development version 2022-04-22 22:20:47 +02:00
smartfrigde
4c8cd2bf57 Make window decorations work on Gnome Wayland 2022-04-22 20:39:00 +02:00
smartfrigde
3e8526f0f7 Add wayland specific patches 2022-04-22 20:30:09 +02:00
smartfrigde
41933e3c4f Update assets and add new ones 2022-04-21 18:20:58 +02:00
smartfrigde
1666b8a098 Fix corrupted settings checker 2022-04-21 15:23:06 +02:00
smartfrigde
495a813af1 Add experimental Discord AC theme 2022-04-20 21:50:23 +02:00
smartfrigde
c5368da0ca Add no client mods option to settings 2022-04-20 21:05:03 +02:00
smartfrigde
97e8fb5e69 Fix setup not working, css additions 2022-04-20 20:30:52 +02:00
smartfrigde
7a7dd05163 Make invite websocket togglable 2022-04-19 19:59:52 +02:00
smartfrigde
37966b985a Fix websocket not unlocking when window is closed manually 2022-04-19 16:10:12 +02:00