Erez Rokah
4afbbdd8a9
feat(yaml): support comments ( #3529 )
2020-04-07 15:00:06 +03:00
Shawn Erquhart
c2425b44e8
fix: stop collection view controls from overflowing ( #3521 )
2020-04-01 18:23:59 +03:00
Erez Rokah
174d86f0a0
Feat: entry sorting ( #3494 )
...
* refactor: typescript search actions, add tests avoid duplicate search
* refactor: switch from promise chain to async/await in loadEntries
* feat: add sorting, initial commit
* fix: set isFetching to true on entries request
* fix: ui improvments and bug fixes
* test: fix tests
* feat(backend-gitlab): cache local tree)
* fix: fix prop type warning
* refactor: code cleanup
* feat(backend-bitbucket): add local tree caching support
* feat: swtich to orderBy and support multiple sort keys
* fix: backoff function
* fix: improve backoff
* feat: infer sortable fields
* feat: fetch file commit metadata - initial commit
* feat: extract file author and date, finalize GitLab & Bitbucket
* refactor: code cleanup
* feat: handle github rate limit errors
* refactor: code cleanup
* fix(github): add missing author and date when traversing cursor
* fix: add missing author and date when traversing cursor
* refactor: code cleanup
* refactor: code cleanup
* refactor: code cleanup
* test: fix tests
* fix: rebuild local tree when head doesn't exist in remote branch
* fix: allow sortable fields to be an empty array
* fix: allow translation of built in sort fields
* build: fix proxy server build
* fix: hide commit author and date fields by default on non git backends
* fix(algolia): add listAllEntries method for alogolia integration
* fix: handle sort fields overflow
* test(bitbucket): re-record some bitbucket e2e tests
* test(bitbucket): fix media library test
* refactor(gitgateway-gitlab): share request code and handle 404 errors
* fix: always show commit date by default
* docs: add sortableFields
* refactor: code cleanup
* improvement: drop multi-sort, rework sort UI
* chore: force main package bumps
Co-authored-by: Shawn Erquhart <shawn@erquh.art>
2020-03-31 23:13:27 -04:00
Manish Giri
a91e8316f7
refactor(ui): use variables for z-index values ( #3453 )
2020-03-24 15:46:47 +02:00
Erez Rokah
42d60a644c
fix: update error boundary about GitHub issue data ( #3471 )
2020-03-23 19:02:01 +02:00
Erez Rokah
ae1917c818
fix: allow widgets to control value to be validated ( #3448 )
2020-03-23 16:33:29 +02:00
Erez Rokah
ce69fdd66b
chore: cleanup warnings ( #3469 )
2020-03-23 13:09:06 +02:00
Erez Rokah
df33bc64a9
feat: add publish configuration option to collections ( #3467 )
2020-03-23 12:01:37 +02:00
Erez Rokah
e92ba412d8
chore: populate error boundry issue with relevant values ( #3460 )
2020-03-22 16:04:11 +02:00
Derek Nguyen
6d8765521c
fix(core): pass loadEntry to widgets as utility function and not redux action ( #3439 )
2020-03-20 12:54:53 +02:00
marcricharme
e81a35ccb8
fix(core): custom widget validate bug in EditorControlPane ( #3435 )
2020-03-19 11:38:26 +02:00
Erez Rokah
2409323dba
fix: call createDraftFromEntry after entry is loaded instead in Editor ( #3418 )
...
* fix: call createDraftFromEntry after entry is loaded instead in Editor
2020-03-16 20:48:49 +01:00
Erez Rokah
92e76011e7
feat: add media lib virtualization ( #3381 )
2020-03-09 08:45:42 +01:00
Erez Rokah
50837b0068
fix: ja locale labels ( #3367 )
2020-03-05 16:35:24 +01:00
Erez Rokah
f3fd43b819
fix: cache assets using resolved path on error ( #3378 )
2020-03-04 15:25:03 +01:00
Shawn Erquhart
93bd0529f1
docs: Update backend docs links ( #3370 )
2020-03-04 08:46:59 +01:00
Erez Rokah
e0b1246810
feat: populate new entry from URL params ( #3343 )
2020-03-02 11:32:22 +01:00
Bartholomew
cf81f587cf
fix: ensure draft changes ( #3306 )
2020-02-28 11:40:51 +01:00
Bartholomew
908c42fb58
fix: preserve unknown fields value ( #3314 )
2020-02-26 16:58:46 +01:00
Shawn Erquhart
53365b7370
fix(core): improve editor buttons for smaller screens ( #3327 )
2020-02-26 08:30:02 +01:00
Erez Rokah
02ef2010e7
Fix: show specific field media files in library, cascade folder templates ( #3252 )
...
* feat: cascade & compose media folders - initial commit
* refactor: code cleanup
* fix: pass field instead of folder to getAsset
* fix: only show field media files in library
* test: fix medial library selector test
* fix: fallback to original path when asset not found
* fix: only show field media files in media library
* fix: properly handle empty strings in field folders
2020-02-14 15:31:33 -05:00
Erez Rokah
ab685e8594
fix: change getAsset to not return a promise ( #3232 )
...
* fix: change getAsset to not return a promise
* fix: update markdown widget per getAsset changes
* test: fix editor component image test
* docs: update getAsset docs
2020-02-12 19:12:36 -05:00
Erez Rokah
ca8cf71ab0
fix: handle missing inferred title field ( #3239 )
2020-02-12 10:54:09 +02:00
Erez Rokah
c4125625f9
Feat: Allow using subfields as identifier field ( #3219 )
2020-02-12 08:30:44 +02:00
Shawn Erquhart
cfd2fed494
fix(core): use correct name for edit route param ( #3236 )
2020-02-11 18:28:26 -05:00
Erez Rokah
97bc0c8dc4
feat: field based media/public folders ( #3208 )
2020-02-10 11:05:47 -05:00
tiuweehan
fc91bf8781
fix(locale): remove hard coded strings ( #3193 )
2020-02-04 14:49:47 +02:00
Erez Rokah
06c045e4e6
fix: don't show duplicate entry when create is disabled ( #3162 )
2020-01-28 14:28:33 -08:00
Erez Rokah
cf57da223d
Feat: media folders templates ( #3116 )
...
* refactor: typescript backendHelper
* test: add string templating tests
* test: add createPreviewUrl invalid date test
* refactor: move all formatters to one file
* feat: support media folders templating
* feat: add filename and extension template variables
* feat: support paths in string templates
* docs: add media folder templating docs
* style(docs): remove line break
2020-01-22 13:42:24 -05:00
Erez Rokah
6f221ab3c1
Feat: editorial workflow bitbucket gitlab ( #3014 )
...
* refactor: typescript the backends
* feat: support multiple files upload for GitLab and BitBucket
* fix: load entry media files from media folder or UI state
* chore: cleanup log message
* chore: code cleanup
* refactor: typescript the test backend
* refactor: cleanup getEntry unsued variables
* refactor: moved shared backend code to lib util
* chore: rename files to preserve history
* fix: bind readFile method to API classes
* test(e2e): switch to chrome in cypress tests
* refactor: extract common api methods
* refactor: remove most of immutable js usage from backends
* feat(backend-gitlab): initial editorial workflow support
* feat(backend-gitlab): implement missing workflow methods
* chore: fix lint error
* feat(backend-gitlab): support files deletion
* test(e2e): add gitlab cypress tests
* feat(backend-bitbucket): implement missing editorial workflow methods
* test(e2e): add BitBucket backend e2e tests
* build: update node version to 12 on netlify builds
* fix(backend-bitbucket): extract BitBucket avatar url
* test: fix git-gateway AuthenticationPage test
* test(e2e): fix some backend tests
* test(e2e): fix tests
* test(e2e): add git-gateway editorial workflow test
* chore: code cleanup
* test(e2e): revert back to electron
* test(e2e): add non editorial workflow tests
* fix(git-gateway-gitlab): don't call unpublishedEntry in simple workflow
gitlab git-gateway doesn't support editorial workflow APIs yet. This change makes sure not to call them in simple workflow
* refactor(backend-bitbucket): switch to diffstat API instead of raw diff
* chore: fix test
* test(e2e): add more git-gateway tests
* fix: post rebase typescript fixes
* test(e2e): fix tests
* fix: fix parsing of content key and add tests
* refactor: rename test file
* test(unit): add getStatues unit tests
* chore: update cypress
* docs: update beta docs
2020-01-14 17:15:14 -05:00
Mauro Bieg
24a81ef9b7
Add media_library.config.max_file_size option ( #3028 )
...
* feat: add media_library.config.max_file_size option
2020-01-09 19:56:11 +02:00
Erez Rokah
b5ffccdac5
feat(backend-git-gateway): handle identity disabled error message ( #3002 )
2020-01-06 14:10:37 -05:00
Bartholomew
9e7aa0c500
fix: duplicate and new entry action ( #3003 )
...
* fix: duplicate and new entry action
* test(e2e): flush clock when duplicating entry to handle debounced fields
Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com>
2019-12-25 11:47:02 +02:00
Bartholomew
e4ba4d9d74
fix: cleanup nested widget validation ( #2991 )
...
* fix: cleanup nested widget validation
* fix: list input widget validation
2019-12-25 10:48:47 +02:00
Shawn Erquhart
982fd7b0f8
fix: always ensure collection exists before routing ( #2992 )
2019-12-22 13:40:14 +02:00
Bartholomew
9173d8c97e
fix: select widget dropdown options ( #2981 )
2019-12-19 10:47:09 -05:00
Erez Rokah
2b41d8a838
feat: bundle assets with content ( #2958 )
...
* fix(media_folder_relative): use collection name in unpublished entry
* refactor: pass arguments as object to AssetProxy ctor
* feat: support media folders per collection
* feat: resolve media files path based on entry path
* fix: asset public path resolving
* refactor: introduce typescript for AssetProxy
* refactor: code cleanup
* refactor(asset-proxy): add tests,switch to typescript,extract arguments
* refactor: typescript for editorialWorkflow
* refactor: add typescript for media library actions
* refactor: fix type error on map set
* refactor: move locale selector into reducer
* refactor: add typescript for entries actions
* refactor: remove duplication between asset store and media lib
* feat: load assets from backend using API
* refactor(github): add typescript, cache media files
* fix: don't load media URL if already loaded
* feat: add media folder config to collection
* fix: load assets from API when not in UI state
* feat: load entry media files when opening media library
* fix: editorial workflow draft media files bug fixes
* test(unit): fix unit tests
* fix: editor control losing focus
* style: add eslint object-shorthand rule
* test(cypress): re-record mock data
* fix: fix non github backends, large media
* test: uncomment only in tests
* fix(backend-test): add missing displayURL property
* test(e2e): add media library tests
* test(e2e): enable visual testing
* test(e2e): add github backend media library tests
* test(e2e): add git-gateway large media tests
* chore: post rebase fixes
* test: fix tests
* test: fix tests
* test(cypress): fix tests
* docs: add media_folder docs
* test(e2e): add media library delete test
* test(e2e): try and fix image comparison on CI
* ci: reduce test machines from 9 to 8
* test: add reducers and selectors unit tests
* test(e2e): disable visual regression testing for now
* test: add getAsset unit tests
* refactor: use Asset class component instead of hooks
* build: don't inline source maps
* test: add more media path tests
2019-12-18 11:16:02 -05:00
Shawn Erquhart
18c579d0e9
feat: Code Widget + Markdown Widget Internal Overhaul ( #2828 )
...
* wip - upgrade to slate 0.43
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* finish list handling logic
* add plugins directory
* tests wip
* setup testing
* wip
* add selection commands
* finish list testing
* stuff
* add codemirror
* abstract codemirror from slate
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* codemirror mostly working, some bugs
* upgrade to slate 46
* upgrade to slate 47
* wip
* wip
* progress
* wip
* mostly working links with surrounding marks
* wip
* tests passing
* add test
* fix formatting
* update snapshots
* close self closing tag in markdown html output
* wip - commonmark
* hold on commonmark work
* all tests passing
* fix e2e specs
* ignore tests in esm builds
* break/backspace plugins wip
* finish enter/backspace spec
* fix soft break handling
* wip - editor component deletion
* add insertion points
* make insertion points invisible
* fix empty mark nodes output to markdown
* fix pasting
* improve insertion points
* add static bottom insertion point
* improve click handling at insertion points
* restore current table functionality
* add paste support for Slate fragments
* support cut/copy markdown, paste between rich/raw editor
* fix copy paste
* wip - paste/select bug fixing
* fixed known slate issues
* split plugins
* fix editor toggles
* force text cursor in code widget
* wip - reorg plugins
* finish markdown control reorg
* configure plugin types
* quote block adjacent handling with tests
* wip
* finish quote logic and tests
* fix copy paste plugin migration regressions
* fix force insert before node
* fix trailing insertion point
* remove empty headers
* codemirror working properly in markdown widget
* return focus to codemirror on lang select enter
* fix state issues for widgets with local state
* wip - vim working, just need to work out distribution
* add settings pane
* wip - default modes
* fix deps
* add programming language data
* implement linguist langs in code widget
* everything built in
* remove old registration code, fix focus styling
* fix/update linting setup
* fix js lint errors
* remove stylelint from format script
* fix remaining linting errors
* fix reducer test failures
* chore: update commitlint for worktree support
* chore: fix remaining tests
* chore: drop unused monaco plugin
* chore: remove extraneous global styles rendering
* chore: fix failing tests
* fix: tests
* fix: quote/list nesting (tests still broken)
* fix: update quote tests
* chore: bring back code widget test config
* fix: autofocus
* fix: code blocks without the code widget
* fix: code editor component state issues
* fix: error
* fix: add code block test, few fixes
* chore: remove notes
* fix: [wip] update stateful shortcodes on undo/redo
* fix: support code styled links, handle unknown langs
* fix: few fixes
* fix: autofocus on insert, focus on all clicks
* fix: linting
* fix: autofocus
* fix: update code block fixture
* fix: remove unused cypress snapshot plugin
* fix: drop node 8 test, add node 12
* fix: use lodash.flatten instead of Array.flat
* fix: remove console logs
2019-12-16 19:17:37 +02:00
Bartholomew
d180bffb44
feat: duplicate entry ( #2956 )
2019-12-10 20:33:02 -05:00
Bartholomew
3c4865f2a7
fix: keep editor slug path ( #2934 )
...
* fix: keep editor slug path
* fix: cleanup
* refactor: remove unused path preview component
2019-12-01 10:46:45 +02:00
Erez Rokah
afcfe5b6d5
feat: content in sub folders ( #2897 )
2019-11-27 22:39:33 -05:00
Bartholomew
41bb9aac0d
feat: workflow unpublished entry ( #2914 )
...
* feat: workflow unpublished entry
* fix: post rebase fix - load unpublished entry after unpublish
* feat: change unpublish button to dropdown
* test(cypress): add unpublish entry cypress test
2019-11-26 12:14:04 +02:00
Bartholomew
9ddfa48512
fix: emotion use ref prop ( #2905 )
2019-11-21 09:10:33 +02:00
Erez Rokah
ead46af194
chore(deps): update dependency prettier to v1.19.1 ( #2893 )
...
* chore(deps): update dependency prettier to v1.19.1
* style: format files after prettier upgrade
2019-11-18 17:51:51 +02:00
Erez Rokah
6515dee871
feat: commit media with post ( #2851 )
...
* feat: commit media with post - initial commit
* feat: add draft media indication
* feat: sync UI media files with GitHub on entry load
* feat: bug fixes
* feat: delete media files from github when removed from library
* test: add GitHub backend tests
* test: add unit tests
* fix: meta data object files are not updated
* feat: used nested paths when update a tree instead of recursion
* feat(test-backend): update test backend to persist media file with entry
* test(e2e): re-record fixtures data
* chore: code cleanup
* chore: code cleanup
* fix: wait for library to load before adding entry media files
* chore: code cleanup
* fix: don't add media files on entry when not a draft
* fix: sync media library after draft entry was published
* feat: update media library card draft style, add tests
* test: add Editor unit tests
* chore: test code cleanup
* fix: publishing an entry from workflow tab throws an error
* fix: duplicate media files when using test backend
* refactor: fix lodash import
* chore: update translations and yarn file after rebase
* test(cypress): update recorded data
* fix(test-backend): fix mapping of media files on publish
2019-11-17 11:51:50 +02:00
Ananthakumar
542a7acfe6
fix(workflow): label file collection entries in Workflow ( #2566 )
2019-11-08 18:28:17 -05:00
Ananthakumar
c1c95874f4
fix(backend-test-repo): show notice when test repo is in use ( #2678 )
2019-11-05 18:21:38 -05:00
polemius
7ca528b20a
enhancement: improve error with no existing widget ( #2722 )
...
* enhancement: improve error with no existing widget
* Update Widget.js
* chore: fix formatting of Widget.js
2019-10-24 11:59:32 +03:00
polemius
68dd995d97
Fix lint issues with propTypes ( #2713 )
2019-10-24 11:45:00 +03:00
Ben Borgers
c54f896e39
fix: hide collection item overflow on hover ( #2706 )
2019-10-23 14:08:46 -04:00