Commit Graph

28 Commits

Author SHA1 Message Date
Oscar Hinton 044ac513ae
Remove empty catch blocks, and update tslint rule (#1226) 2021-10-20 18:30:04 +02:00
Danny Murphy 0c02cfea2f
Dark Theme (#1017)
* Stylesheets

* Theme Configuration

* Options Area

* swal2 style

* Icon styling

* Fix theme not saving

* Update English

* Update messages.json

* dropdown and login logo

* btn-link and totp fix

* Organisation Styling

* Update webauthn-fallback.ts

* Fix contrast issues

* Add Paypal Container and Loading svg file

* Password Generator contrast fix

* Dark Mode Fix buttons and foreground

* Fix button hover

* Fix Styles after rebase

* Add hover on nav dropdown-item

* Disable Theme Preview

* Options Fix for Default Theme Changes

* Updated Colour Scheme

* Toast fix

* Button and Text Styling

* Options Update and Messages Fix

* Added Search Icon and Fixed Callout styling

* Add theme styling to Stripe

* Refactor logic for setting color

* Reorder logic to avoid race condition

* PayPal Loading and Misc Fix

* text-state bug fix

* Badge Colour Fix

* Remove PayPal Tagline

The colour cannot be styled so it's not visible on a dark theme

* Adding the Styling from #1131

* Update to New Design

* Form and Nav restyle

* Modal Opacity and Callout

* Nav Colours

* Missing Borders

* Light theme fix

* Improved border for listgroup

* Change Org Nav Colour

* Save theme to localStorage for persistence

* Undo change to Wired image

* !Important removal and tweaks

* Fix regression with navbar

* Light theme by default

* Refactor to use getEffectiveTheme

* Refactor theme constants to use enum

* Set theme in index.html before app loads

* Use scss selector to set logo image

* Export Sass to TS

* Update jslib

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2021-09-30 08:06:20 +10:00
Joseph Flinn 7f76084109
Move WebConstants values to environment config files (#1184)
* Moving the web constants to the app config for more flexibility

* removing personal integrations from QA

* changing the PayPal Configuration setup to match the pattern in the services module

* removing the webConstants file after successful test

* renaming the braintree config key to something more understandable
2021-09-09 14:18:46 -07:00
Matt Gibson 66bd8be2c9
Set urls from config file (#1151)
* Set environment URLs in webpack config.

* Provide non NULL dev server

* QA env uses the pq TLD

* Include icons in qa env

* Move base configs to develop.

local configurations should be done in the `./config/local.json` file.

* Fix config override loading to default to development

* Standardize url formatting

* Limit QA settings to those set in production

* Set self hosted in a config

* Specify cloud instead of production

Self hosted and cloud are both production environments.
The ENV setting is used to specify the env type while
NODE_ENV specifies whether development error handling and services.

* Update config instructions

* Remove invalid json

* Change env `production` references to `cloud`

* Fix formatting
2021-08-25 13:15:31 -05:00
Oscar Hinton 35d6a28c94
Ensure Angular is running as production (#1093) 2021-07-23 20:03:14 +02:00
Oscar Hinton 731e191011
Add cache-busting query param to dropin script (#1078) 2021-07-12 09:21:30 +02:00
Oscar Hinton b12d0387f6
Add jslib as a "real" dependency (#951)
* Add jslib as a dependency

* Cleanup tsconfig, webpack, add jslib-angular to package.json

* Update all import paths

* Add back @types/node.

* Lint

* Remove dummy module

* Remove merge conflict

* Group imports

* Bump jslib
2021-06-07 20:13:58 +02:00
Thomas Rittson da0df3a73b
Set baseUrl in QA cloud environment (#994)
* Set baseUrl if not deployed to prod server

* Add env variable TARGET and use to set baseUrl

* remove webPlatformUtilsService.isProdServer

* passing the ENV through to the Angular app

* switching the value of SELF_HOST back to true

* fixing some webpack.config variables

* fixing the selfhost angular process.env

* removing unecessary code

Co-authored-by: Joseph Flinn <joseph.s.flinn@gmail.com>
2021-05-27 09:46:26 -07:00
Oscar Hinton 9547b72566
Bump dependencies (#936)
* Bump dependencies
2021-04-22 21:29:29 +02:00
Matt Gibson 2e7b88f149
Fix glob processing in npm. Ban single param parens (#818) 2021-02-03 11:41:33 -06:00
Chad Scharf 4bdb9c8632 Collect tax info for payments 2020-06-17 13:20:06 -04:00
Chad Scharf b1c098614c tax info collection zip + VAT 2020-06-17 13:20:06 -04:00
Kyle Spearrin a4571a2617 handleCardPayment for incomplete payments 2019-08-09 23:57:30 -04:00
Kyle Spearrin 22727b5abe support credit on get token method 2019-02-20 20:39:40 -05:00
Kyle Spearrin fb3afbdc76 credit payment method 2019-02-20 20:16:06 -05:00
Kyle Spearrin 1f6632146b add credit via paypal 2019-02-20 17:33:05 -05:00
Kyle Spearrin 4fc90984d8 pass payment method type 2019-02-19 17:06:01 -05:00
Kyle Spearrin 0b1abc9ab0 more style fixes 2019-02-19 00:23:15 -05:00
Kyle Spearrin 238ac22b85 styling 2019-02-18 23:53:36 -05:00
Kyle Spearrin 773f0be84a move to stripe elements 2019-02-18 23:40:04 -05:00
Kyle Spearrin 47bda7d789 card exp month and year empty string defaults 2019-01-16 23:26:39 -05:00
Daniel 188ac5051a Removed requirement to load JavaScript from js.braintreegateway.com (#259)
* Removed requirement to load JavaScript from js.braintreegateway.com

* Moved braintree-web-drop-in from a devDependencies to dependencies per code review.
2018-09-11 17:40:56 -04:00
Kyle Spearrin 73b87f2e97 update dropin to 1.12.0 2018-08-28 00:27:24 -04:00
Kyle Spearrin 24ee5c2d5d cleanup braintree stylesheet 2018-07-20 17:37:16 -04:00
Kyle Spearrin 56b9cb5c9e adjust payment for orgs 2018-07-17 15:07:32 -04:00
Kyle Spearrin 0650cafb28 org billing settings setup 2018-07-16 17:17:07 -04:00
Kyle Spearrin d509637623 adjust payment 2018-06-30 13:36:39 -04:00
Kyle Spearrin fd88a066da payment component and styling 2018-06-28 22:27:32 -04:00