Commit graph

157 commits

Author SHA1 Message Date
Nolan Lawson 7876f82871
fix: build inline script using Rollup (#761)
* fix: build inline script using Rollup

This reduces code duplication and allows the theme engine to work the
same without modifying the code in two places. It does extra extra deps,
but I tried to keep them to a minimum.

* change code comment

* remove unnecessary constant
2018-12-08 11:21:54 -08:00
Nolan Lawson 0515133ece
fix(a11y): fix NVDA crash on long aria-label (#702)
* fix(a11y): fix NVDA crash on long aria-label

fixes #694

* use the word truncated instead of ellipsis

* fix test

* really fix tests
2018-12-01 00:10:30 -08:00
Nolan Lawson e44cafb5fb
feat(scrollbars): add option to disable scrollbars, fix macOS style (#701)
fixes #698 and fixes #700
2018-11-27 19:17:18 -08:00
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
Nolan Lawson 56f7efb78f implement requesting to follow someone 2018-03-14 22:32:58 -07:00
Nolan Lawson b8d1ccb339 add ability to delete a status 2018-03-14 08:36:12 -07:00
Nolan Lawson 59e895f814 fix tests 2018-03-08 22:18:40 -08:00
Nolan Lawson cd8293925e fix tests 2018-03-08 18:37:32 -08:00
Nolan Lawson f0d05b7560 lint fix 2018-03-08 18:09:35 -08:00
Nolan Lawson 53081ffe54 add failing test for offline threads 2018-03-08 18:08:14 -08:00
Nolan Lawson 6dfa63ba48 fix tests 2018-03-06 23:57:06 -08:00
Nolan Lawson 7b92f894a4 Revert "avoid need for foreman"
This reverts commit 49ac2f21eb.
2018-03-06 21:32:56 -08:00
Nolan Lawson 49ac2f21eb avoid need for foreman 2018-03-06 21:12:48 -08:00
Nolan Lawson 4b5b06b6fc speed up tests 2018-03-06 21:02:22 -08:00
Nolan Lawson 92c59a18e4 fix test setup process 2018-03-06 09:21:17 -08:00
Nolan Lawson 814a4dce76 fix comment 2018-03-06 09:04:09 -08:00
Nolan Lawson 36fdd79032 add custom emoji 2018-03-06 09:03:59 -08:00
Nolan Lawson 4a49e9118e lint fix 2018-03-05 23:56:48 -08:00
Nolan Lawson c574606f0c fix media uploads in restoration script 2018-03-05 23:46:50 -08:00
Nolan Lawson 8eeb7da186 getting closer 2018-03-05 22:36:54 -08:00
Nolan Lawson 32e47a0bb7 fix some bugs 2018-03-05 21:58:29 -08:00
Nolan Lawson 19d5d9aaae fix tests again 2018-03-05 21:27:51 -08:00
Nolan Lawson 9db0d3547a fixup 2018-03-05 21:21:28 -08:00
Nolan Lawson 97fb94dba6 update again 2018-03-05 20:59:33 -08:00
Nolan Lawson b5800bc5c9 update users 2018-03-05 20:59:21 -08:00
Nolan Lawson 832b61e3dd update scripts 2018-03-05 20:53:52 -08:00
Nolan Lawson 5c38554a38 update scripts 2018-03-05 20:51:42 -08:00
Nolan Lawson 9872f6073e continue on test data instance restoration 2018-03-05 20:29:49 -08:00
Nolan Lawson 253e14dc9c start on building test db from scratch 2018-03-05 10:10:50 -08:00
Nolan Lawson 35282666cc implement post privacy 2018-03-03 13:23:26 -08:00
Nolan Lawson 333ac62b61 further refactor ComposeBox 2018-02-26 22:22:56 -08:00
Nolan Lawson 3c62411819 start adding compose icons, update seafoam style 2018-02-26 20:55:49 -08:00
Nolan Lawson 1b7a01f1ee add favorite/unfavorite feature 2018-02-24 14:49:28 -08:00
Nolan Lawson 014f23887f fix notifications test 2018-02-18 17:28:08 -08:00
Nolan Lawson 03073ac846 fix lint 2018-02-18 15:30:42 -08:00
Nolan Lawson 56529b8a42 basic cypress tests 2018-02-18 12:25:59 -08:00
Nolan Lawson 704c4c8ca8 flesh out tests 2018-02-18 12:03:37 -08:00
Nolan Lawson eadcdb0f3e ability to set up dev mastodon server with data 2018-02-18 11:53:50 -08:00
Nolan Lawson 5196109e0c more work on testing 2018-02-18 10:42:27 -08:00
Nolan Lawson 5adc975bef lint fixes 2018-02-11 09:37:13 -08:00
Nolan Lawson 02afea70ed add blocked accounts, muted accounts, pinned toots 2018-02-10 16:03:28 -08:00
Nolan Lawson 2e83bc0ff9 use standard 2018-02-08 22:29:29 -08:00
Nolan Lawson 1d25fa641e add lists support 2018-02-08 09:15:25 -08:00
Nolan Lawson 016ecfca8d add favorites, refactor local/federated 2018-02-07 22:49:50 -08:00
Nolan Lawson 8761a46767 implement search 2018-02-06 20:54:49 -08:00
Nolan Lawson 940954f8fe get rid of dynamic nav title 2018-02-03 10:57:45 -08:00
Nolan Lawson 689cd97071 refactor external links 2018-01-28 19:01:51 -08:00
Nolan Lawson 6b2f16f3bf add status context 2018-01-28 15:44:33 -08:00
Nolan Lawson 4620a79b17 first stab at a profile page 2018-01-28 00:29:45 -08:00
Nolan Lawson b569d63412 different style for direct/private statuses 2018-01-27 18:25:49 -08:00
Nolan Lawson 7f19a9068f fix title and gear icon 2018-01-27 12:55:09 -08:00