Commit Graph

49 Commits

Author SHA1 Message Date
694b5f108b DEV: Fix various rubocop lints (#24749)
These (21 + 3 from previous PRs) are soon to be enabled in rubocop-discourse:

Capybara/VisibilityMatcher
Lint/DeprecatedOpenSSLConstant
Lint/DisjunctiveAssignmentInConstructor
Lint/EmptyConditionalBody
Lint/EmptyEnsure
Lint/LiteralInInterpolation
Lint/NonLocalExitFromIterator
Lint/ParenthesesAsGroupedExpression
Lint/RedundantCopDisableDirective
Lint/RedundantRequireStatement
Lint/RedundantSafeNavigation
Lint/RedundantStringCoercion
Lint/RedundantWithIndex
Lint/RedundantWithObject
Lint/SafeNavigationChain
Lint/SafeNavigationConsistency
Lint/SelfAssignment
Lint/UnreachableCode
Lint/UselessMethodDefinition
Lint/Void

Previous PRs:
Lint/ShadowedArgument
Lint/DuplicateMethods
Lint/BooleanSymbol
RSpec/SpecFilePathSuffix
2023-12-06 23:25:00 +01:00
3a11c82547 DEV: Update minitest to 5.19.0 (#22821) 2023-07-27 12:18:40 +02:00
0b4e14aa74 DEV: prevents rake emoji:update to run on prod (#21594)
This task is only designed to help generate a pull request to update official emoji images. It should never be run directly on production.
2023-05-16 20:46:57 +02:00
666536cbd1 DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
6417173082 DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
008b700a3f DEV: Upgrade to Rails 7
This patch upgrades Rails to version 7.0.2.4.
2022-04-28 11:51:03 +02:00
8cfd791e0f FEATURE: Add missing emojis (#15582)
* FEATURE: Add missing emojis

* More missing emojis
2022-01-14 17:51:13 -03:00
06bba76719 DEV: Update emojis constants (#15506)
Follow up to d1cfabd so the new emojis are usable by the app
2022-01-10 14:53:52 -03:00
0a0e06fcf8 FEATURE: Update emojis (#15468)
* FEATURE: Update emojis

* Add extra aliases for backwards compatibility
2022-01-07 15:49:56 -03:00
c5fd8c42db DEV: Fix methods removed in Ruby 3.2 (#15459)
* File.exists? is deprecated and removed in Ruby 3.2 in favor of
File.exist?
* Dir.exists? is deprecated and removed in Ruby 3.2 in favor of
Dir.exist?
2022-01-05 18:45:08 +01:00
a3a4f16e88 UX: add more search aliases for emojis. (#14768) 2021-11-17 11:54:43 +01:00
69f0f48dc0 DEV: Fix rubocop issues (#14715) 2021-10-27 11:39:28 +03:00
9d6780f03d DEV: Remove emoji_one files (#13236)
And add a symlink so requests to those assets fallback to the default
emoji set (Twitter).
2021-06-02 09:18:25 -04:00
45c5fd2172 DEV: Remove JoyPixels emoji option (#12197)
- removes the option from site settings
- deletes the site setting on existing sites that have it
- marks posts using emojis as requiring a rebake

Note that the actual image files are not removed here, the plan is to
remove them in a few weeks/months (when presumably the rebaking of old
posts has been completed).
2021-02-26 07:44:52 -05:00
9bff0882c3 FEATURE: Nokogumbo (#9577)
* FEATURE: Nokogumbo

Use Nokogumbo HTML parser.
2020-05-05 13:46:57 +10:00
30990006a9 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
d91b47064e FIX: windows has no country flags (#7199) 2019-03-18 19:28:49 +01:00
aa4b84925a FEATURE: updates emoji to latest 12.0 version (#7095)
* improved emoji support

- always optimize images as part of the task
- use the unicode standard ordering/naming for sections

* UX: more height for when there are recently used
2019-03-15 16:12:07 +01:00
3fbf7b164d FEATURE: emoji 11.0 "recently added" update (#6275)
Adds support for emojis in the http://www.unicode.org/emoji/charts-11.0/emoji-released.html list
2018-08-16 11:59:45 +02:00
691174fa8f FEATURE: adds emoji search aliases 2018-05-01 15:43:49 +02:00
9e7150a2ad Revert "add a few emoji aliases"
This reverts commit d942bf62823f4bbc22accb1ce134f9f451ef6f6f.
2018-05-01 11:04:26 +02:00
Sam
d942bf6282 add a few emoji aliases 2018-05-01 15:07:59 +10:00
aa990604c5 Adds :puke: as alias to :face_vomiting: 2018-02-24 17:11:04 +01:00
754fa3d2f5 FIX: facebook deprecated facebook messenger emojis 2018-01-05 11:01:23 +01:00
5012d46cbd Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
6de258d4cf FEATURE: Introduces new emoji-picker 2017-07-19 16:48:23 +02:00
6fd44b1efd FIX: s/google_blob/google_classic 2017-07-06 09:05:15 +02:00
fcc50edeef FIX: do not override 🦗 with :cricket_bat_and_ball: 2017-07-05 18:51:25 +02:00
0d6712b365 FIX: prevent thumbsup/down to appear in custom emojis 2017-07-05 17:38:55 +02:00
a71c75367e FEATURE: emoji generation now use emoji-db
- unicode 10
- emoji 5.0
- support for google_blob and facebook_messenger sets
2017-07-04 14:08:47 +02:00
7c68949e04 Emoji ordering
This commit uses
http://www.unicode.org/emoji/charts/emoji-ordering.html to generate an
automatic ordering of emojis. We also don't have to maintain a full
emoji list for groups but only sub sections.
2017-06-23 17:51:13 +02:00
f1750be2be Fixes woman_shrugging name conversion 2017-06-15 08:26:29 +02:00
95e1843d33 Improves native emoji conversion 2017-06-14 17:42:52 +02:00
1ceb64500f Merge pull request #4926 from jjaffeux/fixes-mouse-three
Uses computer_mouse as base name
2017-06-14 14:55:48 +02:00
252c811dae Uses computer_mouse as base name 2017-06-14 11:10:09 +02:00
485de2fcc3 Merge pull request #4924 from jjaffeux/cook-toned
adds tones to woman_cook and man_cook
2017-06-14 09:25:48 +02:00
44e152d750 adds tones to woman_cook and man_cook 2017-06-14 08:35:11 +02:00
03f3612884 Fixes automobile being an alias now 2017-06-14 07:50:36 +02:00
ea6b6c817f always run the tests 2017-06-05 19:01:52 +02:00
b0d5b57fdb remove spec warning 2017-06-05 15:23:15 +02:00
613f6895a6 white_sun_small_cloud is an old alias 2017-06-05 15:23:08 +02:00
64336a8c75 Emoji 5.0 support 2017-06-05 14:06:23 +02:00
ceee2a509a remove warning of previously defined constant when running the specs 2017-02-05 19:07:18 +01:00
ba21ef34e5 Fix broken emojis. 2017-01-24 16:17:30 +08:00
53e309fe3e add missing flags emoji 2016-09-19 19:39:46 +02:00
86d1bc7f47 new emoji:update rake task 2016-09-19 13:43:15 +02:00
Sam
2c3062548b FEATURE: upgrade image compression gem 2015-05-29 12:39:55 +10:00
1e96a1cd58 fix ruby const warning 2015-04-29 23:33:25 +02:00
45dbdb6896 FEATURE: custom emojis 2014-12-23 01:12:26 +01:00