-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown stability patch #5
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* feat(preview): successfully getting collection by name and slug * feat(blog): cleanup EditorPreviewPane.js * feat(preview): new function added to allow previews to fetch data from other collections * feat(preview): running format and test * feat(preview): add getCollection to types Signed-off-by: Wigger Boelens <me@wigger.email> * feat(preview): fix lint issues Signed-off-by: Wigger Boelens <me@wigger.email> --------- Signed-off-by: Wigger Boelens <me@wigger.email> Co-authored-by: cdennington <charlie@design-id.tech> Co-authored-by: Wigger Boelens <me@wigger.email> Co-authored-by: Martin Jagodic <jagodicmartin1@gmail.com>
- decap-cms@3.1.4 - decap-cms-app@3.1.4 - decap-cms-backend-aws-cognito-github-proxy@3.1.2 - decap-cms-backend-azure@3.1.1 - decap-cms-backend-bitbucket@3.1.1 - decap-cms-backend-git-gateway@3.1.1 - decap-cms-backend-gitea@3.1.3 - decap-cms-backend-github@3.1.1 - decap-cms-backend-gitlab@3.1.2 - decap-cms-backend-proxy@3.1.1 - decap-cms-backend-test@3.1.1 - decap-cms-core@3.3.4 - decap-cms-default-exports@3.1.1 - decap-cms-editor-component-image@3.1.1 - decap-cms-lib-auth@3.0.5 - decap-cms-lib-util@3.0.3 - decap-cms-lib-widgets@3.0.2 - decap-cms-locales@3.1.4 - decap-cms-media-library-cloudinary@3.0.3 - decap-cms-media-library-uploadcare@3.0.2 - decap-cms-ui-default@3.1.1 - decap-cms-widget-boolean@3.1.1 - decap-cms-widget-code@3.1.2 - decap-cms-widget-colorstring@3.1.1 - decap-cms-widget-datetime@3.1.1 - decap-cms-widget-file@3.1.1 - decap-cms-widget-image@3.1.1 - decap-cms-widget-list@3.1.1 - decap-cms-widget-map@3.1.1 - decap-cms-widget-markdown@3.1.2 - decap-cms-widget-number@3.1.1 - decap-cms-widget-object@3.1.2 - decap-cms-widget-relation@3.1.1 - decap-cms-widget-select@3.1.1 - decap-cms-widget-string@3.1.1 - decap-cms-widget-text@3.1.1 - decap-server@3.0.3
…aporg#7159) Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4. - [Release notes](https://github.com/webpack/webpack-dev-middleware/releases) - [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md) - [Commits](webpack/webpack-dev-middleware@v5.3.3...v5.3.4) --- updated-dependencies: - dependency-name: webpack-dev-middleware dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: filtering for relation widget (decaporg#2405) * feat: filter relation widget (decaporg#2405) --------- Co-authored-by: Anze Demsar <anze.demsar@p-m.si>
* fix: make EditorComponentField type handle widget='list' correctly * fix: make field and fields optional for widget='list' --------- Co-authored-by: Anze Demsar <anze.demsar@p-m.si>
* Potential Fix for decaporg#7152 * fix: update e2e tests for soft breaks --------- Co-authored-by: Anze Demsar <anze.demsar@p-m.si>
- decap-cms@3.1.5 - decap-cms-app@3.1.5 - decap-cms-core@3.3.5 - decap-cms-widget-markdown@3.1.3 - decap-cms-widget-relation@3.2.0
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/master/History.md) - [Commits](expressjs/express@4.18.2...4.19.2) --- updated-dependencies: - dependency-name: express dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…7091) * refactor: datetime to support custom date and time formats * refactor: improve date formatting * fix: fix dev test script * test: update fixtures * test: set timezone for ci e2e tests * test: update jest * fix: work in progress on datetime control * fix: date and time formatting, handle picker_utc * fix: remove undefined variable, format * fix: jest-environment-jsdom version * refactor: dayjs imports, getFormat and onInputChange functions * fix: set default value * fix: lint datetime control --------- Co-authored-by: Anze Demsar <anze.demsar@p-m.si>
* Add <span> tag to (optional) suffix for customization With the <span> (or any) tag we can add CSS like: ```css body { [class*=FieldLabel-fieldLabel] span { display: none; } } ``` to hide or customize the _(optional)_ suffix. It'll specially useful when majority of the fields are optional, we can also use CSS :has to select required fields and add a _*_ for example. * Update EditorControl.js * chore: format * chore: preventing empty space on field label * Update EditorControl.js * test: remove extra space from expected result in e2e test --------- Co-authored-by: Anze Demsar <anze.demsar@p-m.si> Co-authored-by: Martin Jagodic <jagodicmartin1@gmail.com>
- decap-cms@3.1.6 - decap-cms-app@3.1.6 - decap-cms-core@3.3.6 - decap-cms-widget-datetime@3.1.2
- decap-cms@3.1.7 - decap-cms-app@3.1.7 - decap-cms-widget-relation@3.2.1
…rg#5844) * feat: add helper for fetching default branch from Github * feat: add method for setting default branch * fix: set default branch after user has authenticated successfully * fix: format code * feat: add unit test for getting default branch name * feat: add helpers for parsing API responses * feat(lib-util): add helper for constructing request headers * feat(lib-util): add helper for constructing full URL for API request * feat(lib-util): store base URLs for each backend * feat(lib-util): add type annotation for the request config This requestConfig object will be passed to a helper for making API request * feat(lib-util): add helper for handle API request error * feat(lib-util): add config for making api request * feat(lib-util): add api request generator * feat(lib-util): add helper for getting default branch name Include switch clause to construct API urls for different backends * feat(lib-util): export method for getting default branch name * feat(gh-backend): add a boolean property to check if branch is configured The property is needed so that we'll only set default branch when branch prop is missing in config * feat(gh-backend): set prop `branch` as `master` when it's missing in config This is needed so that this property won't be empty when authorization is revoked. * feat(gh-backend): set branch name when it's missing in config * feat(gitlab-backend): set branch when it's not in the config * feat(bitbucket-backend): set branch when it's not specified in config * feat(lib-util): allow token type to be undefined Reason: Requesting information from a public repo doesn't require token * fix: format codes * feat(github): removed setDefaultBranch function Reason: Default branch is already set when calling `authenticate` function * feat(github): remove function for getting default branch * fix (github): removed GithubRepo object because it was never used * fix (gitlab test): Repeat response for getting project info 2 times Reason: The endpoint for getting Gitlab project info is called twice. Need to specify the number of times to repeat the same response as 2, or Nock will throw an error. * fix(gitlab test): add property `default_branch` to project response REASON: Getting a single project through `/projects/:id` returns an object which contains `default_branch` property, among many other props. The mock response needs to convey that. * fix(gitlab test): reformat codes * feat(lib util api): change function name Change from `constructUrl` to `constructUrlWithParams` to indicate that the returned url may contain query string * feat(lib-util api): Change variable name for storing API roots Change from `rootApi` to `apiRoots` to indicate that the varible contains multiple values * feat(lib-util api): Add varialbe for storing endpoint constants * feat(lib-util api): Change the returned value for `getDefaultBranchName` Reason: There's no `null` value for default_branch * feat(api test): Import Nock module for mocking API requests * feat(api test): Add default values for mocking API Default values include: default branch name, mock tokens and mock repo slug * feat(api test): Add mock response to getting a single repo * feat(api test): Add function for itnercepting request to get single repo * feat(api test): Add test for gettingDefaultBranchName * feat(lib-util): reformat codes * feat(jest config): add moduleNameMapper for GitHub and BitBucket Required for the test that checks setDefaultBranchName is called in lib-util to work * feat(lib-util test): return some modules from backend core for testing * feat(lib-util test): add owner login value for Github's repo response The authenticate method of Github API wrapper extracts owner.login from repo resp * feat(lib-util test): change access level for Gitlab to 30 Reason: If access level is under 30, Gitlab package will throw error * feat(lib-util test): add mock response for getting a user The authenticate method of each backend requires this * feat(lib-util test): add default config for backend field * feat(lib-util test): rewrite function for mocking API * feat(lib-util test): rewrite function for mocking request for repo * test(lib-util): rewrite test for the function getDefaultBranchName * test(lib-util): add function for resolving backend * test(lib-util): import 'set' module from Lodash * test(lib-util): add helper for constructing url path for each backend * test(lib-util): add function for intercepting API request to authenticate * test(lib-util): import each backend module * test(lib-util): add tests that check each backend calls getDefaultBranchName * style: format files * fix: query branch name before setting Github API service * fix: reformat implementation module of Github backend * fix: remove importing of getDefaultBranchName from lib * fix: removed test for getDefaultBranchName in lib packages * fix: removed unused vars in api test for lib package * feat: retrieve default branch before creating Bitbucket AI instance * fix: reformat codes in Bitbucket implementation module * fix: add missing import --------- Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com> Co-authored-by: Martin Jagodic <jagodicmartin1@gmail.com> Co-authored-by: Anze Demsar <anze.demsar@p-m.si>
- decap-cms@3.1.8 - decap-cms-app@3.1.8 - decap-cms-backend-bitbucket@3.1.2 - decap-cms-backend-github@3.1.2 - decap-cms-backend-gitlab@3.1.3 - decap-cms-lib-util@3.0.4 - decap-cms-widget-datetime@3.1.3 - decap-server@3.0.4
- decap-cms@3.1.9 - decap-cms-app@3.1.9 - decap-cms-widget-datetime@3.1.4
Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.6.8. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v0.27.2...v1.6.8) --- updated-dependencies: - dependency-name: axios dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Anze Demsar <anze.demsar@p-m.si>
- decap-cms@3.1.10 - decap-cms-app@3.1.10 - decap-cms-widget-datetime@3.1.5 - decap-cms-widget-relation@3.3.0
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10. - [Release notes](https://github.com/mde/ejs/releases) - [Commits](mde/ejs@v3.1.9...v3.1.10) --- updated-dependencies: - dependency-name: ejs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.31 to 8.4.32. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.4.31...8.4.32) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
update react and react-dom version from 16 to 18 Co-authored-by: Martin Jagodic <jagodicmartin1@gmail.com>
Bumps [ws](https://github.com/websockets/ws) from 7.5.9 to 7.5.10. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@7.5.9...7.5.10) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Jagodic <jagodicmartin1@gmail.com>
Co-authored-by: Martin Jagodic <jagodicmartin1@gmail.com>
…y collapsed sections (decaporg#6541) (decaporg#7229) * fix(map-widget): ensure map renders correctly when expanding initially collapsed sections (decaporg#6541) * fix: newlline lint --------- Co-authored-by: Martin Jagodic <jagodicmartin1@gmail.com>
Changed ToolbarContainer's position element to be absolute - decaporg#7197 Co-authored-by: Martin Jagodic <jagodicmartin1@gmail.com>
- decap-cms@3.1.11 - decap-cms-app@3.1.11 - decap-cms-backend-proxy@3.1.2 - decap-cms-core@3.3.7 - decap-cms-ui-default@3.1.2 - decap-cms-widget-map@3.1.2
oops, wrong repo :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.