Commit Graph

104 Commits

Author SHA1 Message Date
Nolan Lawson 48a1bd47b3
refactor(themes): use CSS specificity order for themes (#684)
The point of this PR is to make it easier to implement scrollbars (#683).

With this PR, the themes move from a body tag-based system (e.g. `body.theme-scarlet`) to a system where they simply declare global CSS and we use CSS specificity order to give us the right theme.
2018-11-24 00:41:36 -08:00
Nolan Lawson 4124da2439
fix(emojos): fix emojos on Ubuntu and Chrome on Windows (#661)
* fix(emojos): fix emojos on Ubuntu and Chrome on Windows

* fixup

* start working on unit tests

* fixup

* add more tests and fix emoji
2018-11-20 00:01:23 -08:00
Nolan Lawson 0964442815
chore(travis): update to mastodon v2.6.1 (#630)
* chore(travis): update to mastodon v2.6.1

* check if mastodon v2.6.1 has a race condition

* apparently in 2.6.1 direct messages no longer appear in home timeline

* Revert "check if mastodon v2.6.1 has a race condition"

This reverts commit dde8ef8be58eda0563170e6b73165fdcbea54f6b.

* try to fix tests

* fix more tests
2018-11-12 12:59:47 -08:00
Nolan Lawson 1fa37df59a
chore(tests): fix minor bug in restore mastodon data script (#638) 2018-11-12 08:42:08 -08:00
Nolan Lawson 8ff174b42d
chore(travis): download ffmpeg static file (#636) 2018-11-11 21:34:59 -08:00
Nolan Lawson 31c6f152c1
chore(travis): try to speed up ffmpeg install (#635) 2018-11-11 16:37:19 -08:00
Nolan Lawson 5b5c6937d0 chore(travis): fix travis deploy script logic
fixes a mistake introduced in #631
2018-11-11 14:21:10 -08:00
Nolan Lawson 00cafece8c
make mastodon installation faster in dev mode (#624) 2018-11-11 11:12:47 -08:00
Nolan Lawson 6bb4c80450
chore(tests): avoid delaying when inserting every post in tests (#625) 2018-11-11 11:12:41 -08:00
Nolan Lawson 924885e532
fix redis issue in travis without building redis from source (#619) 2018-11-05 08:58:26 -08:00
Nolan Lawson ee942df1e3 build redis from source in travis (#602) 2018-11-04 13:59:14 -08:00
Nolan Lawson 9b2b90b46e
simplify theme definitions (#574)
* simplify theme definitions

* remove rollup dep which is overkill

* fix syntax error

* fix lint

* fix test
2018-09-23 12:26:01 -07:00
Nolan Lawson fbd57d67a7
remove yargs as dependency (#570) 2018-09-23 07:57:07 -07:00
Nolan Lawson 40336dbf41
use Mastodon v2.5.0 for testing (#566)
* use Mastodon v2.5.0 for testing

* update fixtures too
2018-09-22 22:19:02 -07:00
greenkeeper[bot] 8dbc1b0503 Update standard to the latest version 🚀 (#519)
* chore(package): update standard to version 12.0.0

* package lock update

* fix eslint
2018-08-29 21:42:57 -07:00
Nolan Lawson c660c7d3a3
update Mastodon used in tests to v2.4.3 (#447)
* update Mastodon used in tests to v2.4.3

* fix count of total number of statuses
2018-08-19 14:46:48 -07:00
Nolan Lawson fb6df029f3
add "reply all" icon (#392)
fixes #388
2018-06-14 08:42:55 -07:00
Nolan Lawson 5139ae3a84
tests: only check out mastodon master branch (#377) 2018-06-08 21:53:59 -07:00
Nolan Lawson e8d2cd9ffc
tests: quicker login, tweak test setup (#372)
* make tests faster by logging in directly

* downgrade testcafe

* Revert "downgrade testcafe"

This reverts commit 0f78f5ef63f25b6428de2faba476a353a338c695.

* try a delay

* the delay does not do anything

* disable concurrency in testcafe

* make setup script less noisy

* try transparency of 2?

* Revert "the delay does not do anything"

This reverts commit 438b3519a4e0c325e89f0c2a0eff6a7a4ae11ebd.

* try a delay of 400ms

* okay fine delay of 1s

* try concurrency of 4 again
2018-06-08 09:00:20 -07:00
Nolan Lawson 992c3a890d
update to mastodon 2.4.0 in travis (#371)
* update to mastodon 2.4.0 in travis

* lint fix
2018-06-07 15:26:47 -07:00
Nolan Lawson 88c4195e4a
explicitly install ruby 2.5.0 in travis (#345) 2018-05-28 08:26:17 -07:00
Nolan Lawson 6bcab90ac1
try removing explicit rvm install in travis (#344) 2018-05-27 09:27:22 -07:00
Nolan Lawson df6323fba3
switch from copy icon to link icon (#343)
fixes #325
2018-05-26 17:23:27 -07:00
Nolan Lawson 9235726a59
remove sleep while restoring mastodon test data (#338) 2018-05-26 16:18:23 -07:00
Nolan Lawson ed5542781a
add dedicated script for setting up mastodon deps (#336) 2018-05-26 16:18:11 -07:00
Nolan Lawson c0d0b4dd36
add option to copy link to clipboard (#289)
Fixes #288
2018-05-12 15:00:11 -07:00
Nolan Lawson 8089202977
add ability to pin and unpin statuses (#235)
* add ability to pin and unpin statuses

* add another test
2018-04-29 12:28:44 -07:00
Nolan Lawson 7ff45dfb3f
mute and unmute accounts (#127) 2018-04-14 22:18:48 -07:00
Nolan Lawson 283bc78b4f
Add CSP (#119)
Fixes #25
2018-04-14 15:50:16 -07:00
Nolan Lawson 01fe4e5729 travis: attempt to make tests less flaky 2018-04-11 09:19:29 -07:00
Nolan Lawson dac4d120f3 travis: try to fix flaky tests 2018-04-10 20:56:42 -07:00
Nolan Lawson 7488eaebd6 travis: don't print 'waiting for mastodon' so frequently 2018-04-10 20:15:04 -07:00
Nolan Lawson 9643cfc9db emit theme scss as compressed 2018-04-10 20:12:41 -07:00
Nolan Lawson 0f9d797ea8 travis: make tests less noisy 2018-04-10 19:43:36 -07:00
Nolan Lawson 12b903c59d travis: force rails into dev mode 2018-04-10 19:32:47 -07:00
Nolan Lawson e63b856a24 travis: run webpacker:install 2018-04-10 19:22:07 -07:00
Nolan Lawson 5da160ce83 travis: debug foreman start 2018-04-10 19:12:59 -07:00
Nolan Lawson 1360f9fd9d travis: use a postgres password 2018-04-10 18:53:22 -07:00
Nolan Lawson c8b352d131 travis: use special pinafore user for postgres 2018-04-10 18:39:56 -07:00
Nolan Lawson 30ee13146e travis: fix postgres credentials 2018-04-10 17:04:08 -07:00
Nolan Lawson 36af90506f travis: fix postgres import 2018-04-10 16:58:17 -07:00
Nolan Lawson 5911769cdd attempt to fix travis tests 2018-04-10 16:45:51 -07:00
Nolan Lawson 228f979ed9 travis and postgres take three 2018-04-09 19:07:28 -07:00
Nolan Lawson b11484ad70 travis and postgres take two 2018-04-09 19:02:33 -07:00
Nolan Lawson f3712e3208 charlock holmes hotfix for mastodon 2018-04-08 14:43:24 -07:00
Nolan Lawson 2544b71251 use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
Nolan Lawson 642250e50c fix globalization of css 2018-04-01 02:48:15 -07:00
Nolan Lawson 474b6e6dad replace × with svg x icon 2018-03-28 08:56:40 -07:00
Nolan Lawson 58b700788c add floating compose button 2018-03-27 00:02:55 -07:00
Nolan Lawson a25dd048b6 make statuses robust against duplicates, remove duplicate from test 2018-03-15 20:04:24 -07:00