Brett Sun
7eaa3b1a2b
Inject environment variables into app
...
Injects environment variables into the app through webpack, rather than
script snippets in index.html.
As part of this:
* Updated server.js to use node’s path package to resolve file paths
* Ensure that all url environment variables passed to the app don’t
have a trailing slash, allowing for cleaner template urls
**Note**: There are still a number of constants that should be taken
out of the app and put into environment variables.
2016-06-02 17:14:58 +02:00
Brett Sun
af0b2109f9
Remove small unnecessary bits of logic in displaying notes
2016-05-02 11:14:52 +02:00
Brett Sun
a8df08c01e
Show the public note on editions
...
Public notes should be visible either when there is one already saved,
or if you can edit the field
2016-05-02 11:13:24 +02:00
Tim Daubenschütz
227cd2832d
fix thumbnail rendering for video
2016-03-10 17:07:11 +01:00
Tim Daubenschütz
7a59960255
Restrict thumbnail expansion if file is TIFF
2016-03-10 15:09:22 +01:00
Tim Daubenschütz
4fdab505e7
Restructure MediaPlayer
...
- encoding evaluation taken out to MediaContainer
2016-03-10 14:33:54 +01:00
Tim Daubenschütz
e0401de1a3
Add async tiff thumbnail encoding support
...
- Fixes #171
2016-03-09 16:54:11 +01:00
Tim Daubenschütz
73ff516078
Add Date of registration to detail pages
2016-03-04 11:10:58 +01:00
Tim Daubenschütz
5b79648385
Merge pull request #153 from ascribe/fix-digital-work-file-name
...
Fix digital work file name download
2016-03-03 10:05:13 +01:00
Tim Daubenschütz
f2c7f02480
Add component for signing S3 url
2016-02-17 11:38:01 +01:00
Brett Sun
dcdae7b7b1
Merge pull request #156 from ascribe/AG-114-show-visual-add-for-cosign-wallet-uneditable-works
...
AG-114 Show visual aid for uneditable works in consign wallet
2016-02-10 13:40:26 +01:00
Brett Sun
9e0efd5140
Small warnings fix for bool props
2016-02-09 12:07:23 +01:00
Tim Daubenschütz
dad4ea4e87
Merge pull request #107 from ascribe/cosmetic-fix-for-multiline-destructure
...
Update multiline destructuring format based on style guide
2016-02-09 09:27:26 +01:00
Tim Daubenschütz
2cb8fb2dd9
Replace bootstrap button with proper dl-link
2016-02-08 16:44:27 +01:00
Brett Sun
0f9e7cd3f6
Fix missing cases of getLangText
2016-02-08 14:50:24 +01:00
Brett Sun
8fce04125f
Merge with master
2016-02-08 14:08:54 +01:00
Brett Sun
a4292f09c3
Merge with master
2016-02-05 17:06:16 +01:00
Brett Sun
8ba9eb20b6
Add better PropType validation for components
2016-02-05 11:53:33 +01:00
Brett Sun
826ca08073
Merge with master
2016-02-05 10:38:59 +01:00
Brett Sun
2ad2ea242d
Changes for PR comments
2016-01-18 17:31:56 +01:00
Brett Sun
e5cae3fc34
Update multiline destructuring format based on style guide
2016-01-18 14:46:39 +01:00
Brett Sun
aa00415a83
Merge with master
2016-01-18 14:15:19 +01:00
Brett Sun
23ccad9b5f
Add changes for PR comments
2016-01-18 13:29:08 +01:00
Brett Sun
621cc76e4a
Use template strings to join two strings together instead of join()
2016-01-18 11:37:11 +01:00
Brett Sun
78cf40ba64
Small cosmetic changes
2016-01-18 10:53:01 +01:00
Brett Sun
a2320b892d
Merge with master
2016-01-18 10:40:13 +01:00
Brett Sun
50129b9d0c
Refactor MarketSubmitButton to pull the piece as necessary rather than always fetching it in MarketAdditionalDataForm
2016-01-15 14:22:28 +01:00
Brett Sun
587b58a500
Fix 404 not being detected properly on piece and edition detail
2016-01-15 13:00:09 +01:00
Brett Sun
7a53d539a6
Small fixes for components using pieces and editions
2016-01-14 16:31:19 +01:00
Brett Sun
7136f2ce6c
Add getInitialState and source pattern for PieceStore
2016-01-14 13:20:45 +01:00
Brett Sun
a5442e5acd
Add getInitialState pattern for EditionStore
2016-01-13 17:24:32 +01:00
Brett Sun
cc9fa2378f
Remove unnecessary duplication of updating encoding status in Edition
...
Also reduces the time between each update to 5s since 10s feels way too
long.
2016-01-12 17:55:37 +01:00
Brett Sun
b22ae7def1
Small bug fixes for components affected by the UserStore and WhitelabelStore being passed down as a prop
2016-01-12 15:07:38 +01:00
Brett Sun
ed264d8511
Fix MediaContainer not being refreshed while in Edition
2016-01-11 19:34:39 +01:00
Brett Sun
40041197d6
Update components for loading WhitelabelStore from top level app
2016-01-11 19:22:25 +01:00
Brett Sun
eafa675760
Small code style changes
2016-01-11 17:57:35 +01:00
Brett Sun
8531b77633
Merge with master
2016-01-11 17:52:32 +01:00
Brett Sun
d4bb00168c
Change AclButtonList and parents for loading UserStore from top level app
2016-01-11 17:41:31 +01:00
Brett Sun
443be236f5
Whitespace fix for comments
2016-01-11 16:26:36 +01:00
Brett Sun
d622ddac06
Load current user and whitelabel settings in AscribeApp
2016-01-11 12:54:15 +01:00
Brett Sun
cc16508e64
Merge with master
2016-01-11 11:59:35 +01:00
Brett Sun
4624e936b3
Use the new history api and its LocationDescriptors
2016-01-05 17:27:25 +01:00
Brett Sun
15a2bfae9a
Fix check for coa
2016-01-04 18:06:26 +01:00
Brett Sun
591882618b
Merge pull request #88 from ascribe/AD-1344-users-want-pretty-detail-page-to-print
...
AD-1344 Users want pretty detail page to print
2015-12-23 11:22:01 +01:00
Brett Sun
d817b920b4
Use class to add overflow ellipsis instead of directly styling component
2015-12-23 10:20:56 +01:00
Brett Sun
0f8499dfee
Use getLangText for COA Intercom message
2015-12-23 09:50:38 +01:00
Brett Sun
5b34d569f6
Don't expand some anchor links in print
2015-12-23 09:48:45 +01:00
Brett Sun
1eea6c2cb2
Substitute COA for placeholder text in print
2015-12-23 09:46:30 +01:00
Brett Sun
6c9e108b72
Hide unnecessary items from the piece and edition details in print
2015-12-23 09:39:02 +01:00
Brett Sun
8ec7023b8f
Force piece and edition layout to be two columns
2015-12-23 09:37:03 +01:00