Commit Graph

86 Commits

Author SHA1 Message Date
Kris 306db2c055
remove hotlinked image from readme (#21) 2022-08-01 12:34:29 -04:00
Jarek Radosz ac456a43b4
DEV: Update CI setup and fix linting issues (#20) 2022-06-18 01:34:02 +02:00
dependabot[bot] 8a2dad96b6
Bump async from 2.6.3 to 2.6.4 (#19)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 18:04:27 +02:00
dependabot[bot] ca36bddd26
Bump ansi-regex from 4.1.0 to 4.1.1 (#18)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 11:55:53 +02:00
dependabot[bot] c9142629ac
Bump minimist from 1.2.5 to 1.2.6 (#17)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 11:52:15 +02:00
Jordan Vidrine 649bb714f6
DEV: Change lock placement (#16) 2022-02-09 15:24:56 -06:00
dependabot[bot] 76dadf9f15
Bump path-parse from 1.0.6 to 1.0.7 (#15)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-13 00:51:40 +02:00
dependabot[bot] 59f3402cd1
Bump glob-parent from 5.1.1 to 5.1.2 (#13)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-12 13:57:55 +02:00
dependabot[bot] 7806a69281
Bump lodash from 4.17.20 to 4.17.21 (#12)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 11:44:23 -04:00
dependabot[bot] 1565391464
Bump handlebars from 4.7.6 to 4.7.7 (#11)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 10:49:08 +10:00
Angus McLeod ff09b877f1
Add category targeting (#4)
Co-authored-by: Dan Ungureanu <dan@ungureanu.me>
2021-04-14 13:16:37 +03:00
dependabot[bot] df6446cf3e
Bump y18n from 4.0.0 to 4.0.1 (#10)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-01 11:34:16 +02:00
tshenry 8e24b2ceca
REFACTOR: Simplify logic and use Category.findBySlugPathWithID (#9)
This change swaps out `Category.findById` with `Category.findBySlugPathWithID`. It ends up reducing the necessary code and handles the scenario of using a link without a numeric ID (e.g. `/tags/c/some-category/some-tag` instead of `/tags/c/some-category/4/some-tag`).

This also simplifies the routing logic in line with what was discussed in https://github.com/discourse/discourse-category-banners/pull/8. There's no need to create an `isCategoryTopicList` variable, especially now that the code is a little less busy.
2021-02-01 12:17:26 -08:00
tshenry 93f0a1f556
FEATURE: Support filtering by tag (#8)
Ensure the banner will remain visible when filtering a category by a tag.
2021-01-21 18:07:30 -08:00
Renato Atilio eeced5b1c4
Setting to show category icon from discourse-category-icons theme component (#7) 2020-11-30 09:46:44 -05:00
awesomerobot a835aa8e7c didn't need new version listed for compatibility 2020-10-19 17:32:42 -04:00
awesomerobot bf33e058c7 Padding not needed due to header position change 2020-09-30 21:40:55 -04:00
awesomerobot 2c1632b547 Pin to current version due to upcoming change 2020-09-30 21:37:24 -04:00
Joffrey JAFFEUX 9be0d88905
FEATURE: adds a setting to choose which connector to use (#5)
above_site_header or below_site_header, default is below_site_header
2020-09-28 13:26:06 +02:00
jjaffeux ac66be7948 REFACTOR: full component refactoring
- drops jquery
- uses new codelayout structure
- more explicit site setting
- apply code standards
- various cleanups
- do not show an empty category-title-desription if we don't show the category description
2020-09-27 11:26:40 +02:00
Penar Musaraj 6dd00a87b4
Use list_type: simple for setting 2020-09-24 15:44:49 -04:00
Kris c3bf66fadd prefix category name with 'category-banner-' to avoid class collision 2019-11-01 16:43:08 -04:00
Kris ab78b924b1 Render the category descriptions as HTML 2019-04-10 00:11:08 -04:00
Kris 82812ff1dd Font Awesome 5 support, slug class 2019-01-11 13:19:51 -05:00
Kris 3a49327865
Create LICENSE 2018-11-14 14:43:58 -05:00
Kris 0e60a439da set as component 2018-11-13 14:27:50 -05:00
Kris b13c0f21ac adding lock to protected categories 2018-06-11 13:54:15 -04:00
Kris 3edf3609f2 padding adjustment 2018-04-26 14:26:57 -04:00
Kris 57ccbf4e09 adding link to about 2018-04-26 14:22:58 -04:00
Kris 30b2a2ebaf
Add link to README 2018-04-26 14:06:18 -04:00
Kris 2b74bb2f7a
Update README 2018-04-26 14:05:27 -04:00
Kris 7f440532fc setting names, css adjustment 2018-04-26 14:01:28 -04:00
Kris 02f0f05e90 Updating name 2018-04-26 13:12:52 -04:00
Kris 618197fffd Adding additional settings 2018-04-26 13:01:44 -04:00
Kris e5d2d3a201 initial commit 2018-04-26 01:25:49 -04:00
Kris f5c2ba6482
Initial commit 2018-04-25 23:03:16 -04:00