Commit Graph

224 Commits

Author SHA1 Message Date
Neil Lalonde 485f5fb36b
Update translations 2020-05-27 16:55:42 -04:00
Neil Lalonde af53c1d551
Update translations 2020-05-04 10:51:02 -04:00
Blake Erickson 8d883fba93
FEATURE: Publish WebHook event when solving/unsolving (#85)
* FEATURE: Publish WebHook event when solving/unsolving

This feature will publish a post edit webhook event whenever a solution
is accepted or unaccepted.

I went ahead and used the existing post-edit webhook because all the
post custom fields for the solved plugin are already included in the
post-edit serializer.

* Create Solved Event Webhook

This commit adds a solved event webhook that will only trigger when an
answer has been marked as accepted or unaccepted.

It uses 100 as the webhook ID. This way any new webhooks in core can
keep using lower numbers like 11, 12, 13, but plugins can use 101, 102,
etc.

* Removed functionality that was added to core

This [PR][1] to discourse core adds what what removed in this commit.

It is better to have this logic in core so that it is discoverable and
future webhooks won't end up accidentally using the same ID.

[1]: https://github.com/discourse/discourse/pull/9110

* UX: Add "solved" status filter in advanced search page.

And rename `in:solved` to `status:solved`.

* FEATURE: Publish WebHook event when solving/unsolving

This feature will publish a post edit webhook event whenever a solution
is accepted or unaccepted.

I went ahead and used the existing post-edit webhook because all the
post custom fields for the solved plugin are already included in the
post-edit serializer.

* Create Solved Event Webhook

This commit adds a solved event webhook that will only trigger when an
answer has been marked as accepted or unaccepted.

It uses 100 as the webhook ID. This way any new webhooks in core can
keep using lower numbers like 11, 12, 13, but plugins can use 101, 102,
etc.

* Removed functionality that was added to core

This [PR][1] to discourse core adds what what removed in this commit.

It is better to have this logic in core so that it is discoverable and
future webhooks won't end up accidentally using the same ID.

[1]: https://github.com/discourse/discourse/pull/9110

Co-authored-by: Vinoth Kannan <vinothkannan@vinkas.com>
2020-03-06 11:28:29 -07:00
Vinoth Kannan f4aea44db8 UX: Add "solved" status filter in advanced search page.
And rename `in:solved` to `status:solved`.
2020-03-06 08:57:38 +05:30
Neil Lalonde 5591056fe3 Update translations 2020-02-25 10:34:46 -05:00
Neil Lalonde a531a2b370 Update translations 2020-02-13 15:07:07 -05:00
Krzysztof Kotlarek 230c2071ea
FEATURE: Add helpdesk and tech support badges (#84)
* FEATURE: Add helpdesk and tech support badges

When plugin is installed, we should create helpdesk and tech support
badges.

Both badges should be disabled by default
2020-02-05 11:14:12 +11:00
Neil Lalonde 4518ee02e5 Update translations 2020-01-20 11:23:11 -05:00
Neil Lalonde 2c80e6577f Update translations 2019-12-19 12:52:07 -05:00
Neil Lalonde ec4f0089f1 Update translations 2019-11-06 10:47:38 -05:00
Neil Lalonde 17912bdda3 Update translations 2019-10-10 11:27:00 -04:00
Kris 9550ced040
UX: If I can't unselect an answer, show text not a button (#80)
* UX: If I can't unselect an answer, show text not a button

* UX: Hide button text when post controls are expanded on mobile
2019-07-24 11:01:47 -04:00
Kris 8e8bf5e2d8 Revert "UX: Improve button position and visibility. (#79)"
This reverts commit f788093e6a.
2019-07-18 10:56:18 -04:00
Neil Lalonde 33a28ced7e Update translations 2019-07-15 14:03:46 -04:00
Bianca Nenciu f788093e6a
UX: Improve button position and visibility. (#79) 2019-07-15 17:30:58 +03:00
Sam Saffron a0191a1e50 Revert "UX: Improve button position and visibility. (#78)"
This reverts commit d394d64285.

We made the UX here a bit too strong, we will followup with a reduction
of noise and ensure the new "loud UX" only appears for the OP
and only appears when no solution is accepted
2019-06-29 08:12:41 +10:00
Bianca Nenciu d394d64285 UX: Improve button position and visibility. (#78) 2019-06-28 18:50:42 +02:00
Neil Lalonde 46a7559cc4 Update translations 2019-06-17 13:58:34 -04:00
Neil Lalonde f76244e3ba Update translations 2019-06-10 10:40:33 -04:00
Neil Lalonde 24789547d2 Update translations 2019-05-30 11:32:54 -04:00
Neil Lalonde ab1eb503ec Update translations 2019-04-05 10:18:43 -04:00
Vinoth Kannan 5ddd644e00 FEATURE: Show dropdown to filter topic lists by solved status 2019-03-14 00:41:07 +05:30
Vinoth Kannan 6fb6f8849b Revert "REVERT: 'FEATURE: Add solved icon for topic titles in search results and other topic lists'"
This reverts commit 6dbd420c9e.
2019-03-13 22:40:54 +05:30
Vinoth Kannan 6dbd420c9e REVERT: 'FEATURE: Add solved icon for topic titles in search results and other topic lists' 2019-03-13 19:38:31 +05:30
Vinoth Kannan b1682574d0 remove unused key in locale 2019-03-13 16:08:09 +05:30
Vinoth Kannan e9be43becd FEATURE: Add solved icon for topic titles in search results and other topic lists 2019-03-13 15:59:07 +05:30
Neil Lalonde bd5685c836 Update translations 2019-03-04 10:21:20 -05:00
Neil Lalonde 93c08c8d71 Update translations 2019-01-31 16:38:16 -05:00
Neil Lalonde f8b4554d7a Update translations 2018-11-29 11:11:40 -05:00
Penar Musaraj 02db4c1340 Avoid svg xml in locale strings 2018-11-12 13:26:28 -05:00
Penar Musaraj fa14f1dee6 replace icon refs in client.en.yml 2018-11-12 10:30:06 -05:00
Neil Lalonde a6a562fb54 Update translations 2018-09-10 14:04:53 -04:00
Neil Lalonde 91e14226a5 Update translations 2018-08-23 09:51:36 -04:00
Neil Lalonde 65a97686f3 Update translations 2018-05-31 15:34:09 -04:00
Neil Lalonde 7e4dba4b1e Update translations 2018-04-24 10:34:30 -04:00
Neil Lalonde 8ecb13a92a Update translations 2018-03-07 14:21:23 -05:00
Arpit Jalan 54379204f3 FIX: jump to solved post instead of opening in new tab 2018-02-18 10:27:51 +05:30
Neil Lalonde 26a2a7a57c Update translations 2018-01-31 11:16:52 -05:00
Andrew Schleifer 1f11d810d1 add a call to action
this disambiguates the tooltip
2018-01-24 12:41:53 -06:00
Neil Lalonde 52d3b29570 Update translations 2017-12-29 16:43:02 -05:00
Neil Lalonde 587ab75ce2 Add new languages 2017-12-12 11:24:14 -05:00
Neil Lalonde d1ff79c925 Update translations 2017-12-12 11:17:05 -05:00
Neil Lalonde b2f819fb7f add pull_translations.rb 2017-11-20 18:08:48 -05:00
Evg 8d84ff2448
Update client.ru.yml
Add: solution_summary
2017-11-06 23:32:11 +03:00
Robin Ward 19b1448d76 FIX: Missing icon in notifications for solved 2017-09-15 13:55:08 -04:00
lol.mol fdda82e880 some missing lines
adding the missing lines to the Persian translation
2017-07-29 19:32:10 +04:30
Sam 44f8f1df26 name files correctly 2017-07-24 12:11:56 -04:00
lol.mol 2de0f90dd5 changing the first line from fa to fa_IR
based on this topic:

https://meta.discourse.org/t/cant-find-solved-by-string-in-the-texts-to-translate/63623/3
2017-05-30 21:09:58 +04:30
SidV 8b7150d1af Added `solved_topics_auto_close_hours`
ed8b0103f6
2017-05-26 08:59:29 -03:00
Guo Xiang Tan 53695c5762 Merge pull request #59 from discourse/add_topic_auto_close_on_solved
FEATURE: Add `solved_topics_auto_close_hours` site setting.
2017-05-26 15:30:50 +08:00
Guo Xiang Tan ed8b0103f6 FEATURE: Add `solved_topics_auto_close_hours` site setting.
https://meta.discourse.org/t/automatically-close-solved-topics-after-n-hours/58383
2017-05-22 20:03:49 +08:00
gauthier592 76192a9334 Master (#58)
* update french translations

* update french
2017-05-22 11:17:12 +02:00
Guo Xiang Tan c7d82ee870 Merge pull request #55 from SidVal/patch-2
Update server.es.yml
2017-05-22 17:12:28 +08:00
Guo Xiang Tan f40bb82abb Merge pull request #54 from SidVal/patch-1
Update client.es.yml
2017-05-22 17:12:09 +08:00
gauthier592 4fc6844cc0 update french translations (#56) 2017-05-21 19:03:50 +02:00
SidV 0ce89d3520 Update server.es.yml
Added:

* empty_box_on_unsolved
* solved_quote_length
2017-05-09 10:34:37 -03:00
SidV e84ae240be Update client.es.yml
Added: has_no_accepted_answer
2017-05-09 10:28:49 -03:00
Risto b64c3fbf75 Update Finnish locale (#52)
* Update client.fi.yml

* Update client.fi.yml

* Update server.fi.yml
2017-04-03 10:15:07 +02:00
David Taylor e20104919a UX: Show configurable length excerpt when quoting the solution 2017-03-08 15:21:41 +00:00
Sam c5bd8d5861 clean up messy locales 2017-03-07 16:03:15 -05:00
rizka10 8144e9adf3 Update server.fi.yml
I updated client.fi.yml earlier.
2017-02-28 01:05:52 +02:00
Sam d4348f4581 Merge pull request #40 from davidtaylorhq/icon_on_unsolved
Added empty box icon to unsolved topics
2017-02-27 16:29:38 -05:00
rizka10 4b03bd559f Update client.fi.yml 2017-02-27 23:20:12 +02:00
David Taylor f17d8ca52e Add missing translation string 2017-02-27 17:42:58 +00:00
David Taylor 726b9a460d Added empty box icon to unsolved topics 2017-02-27 15:00:04 +00:00
Apecengo 73e4909615 Update spanish files (#39)
* Update spanish files

* Change a word in client.es.yml
2017-02-07 14:50:49 +01:00
Sam bf113f47b0 FEATURE: add solved enabled key 2017-02-02 12:20:40 -05:00
Sam 026f7a3ab0 FEATURE: support listing user solutions in user page 2017-02-02 12:20:40 -05:00
lol.mol 6f4261f13d change locale name from fa to fa_IR,
as this is the real locale name for Persian language in discourse.
2016-12-22 13:54:40 +03:30
Guillaume Klein 49b77843fe French translation (#36)
* Add French translations

* Fix language key
2016-10-19 22:22:59 +02:00
Sam fc720ad75d Merge pull request #28 from davidgnavas/patch-5
[CI SKIP] Update server.es.yml
2016-10-17 10:20:01 +11:00
Sam 7b0f9aef77 Merge pull request #33 from jsilvanus/master
Finnish locale
2016-10-17 10:19:41 +11:00
Sam 5181041087 Merge pull request #34 from Dax74/patch-1
Create client.it.yml
2016-10-17 10:19:21 +11:00
Dax74 1898e6592b Update server.it.yml 2016-10-16 00:46:18 +02:00
Dax74 91966d76f1 Create server.it.yml
Italian translation
2016-10-16 00:44:16 +02:00
Dax74 9979881d3d Create client.it.yml
Italian translation
2016-10-16 00:40:26 +02:00
Juha Leinonen 6bb6599b5e Finnish locale 2016-10-16 01:09:50 +03:00
Raddah bba3a10fdb for Arabic Translation for Client and Server (#32)
* for arabic pull 

update for Arabic local

* Create client.ar.yml

* Delete client.ar.yml

* for Arabic Translation
2016-06-15 10:02:54 +02:00
David García-Navas López de Cuéllar ca7ae199c4 Update server.es.yml 2016-06-02 13:10:43 +02:00
voiprodrigo 90bdd63fe7 Fixed localization files encoding to UTF-8 2016-05-14 03:27:46 +01:00
voiprodrigo 9fb45100d8 Added localization files for Portuguese (Portugal/pt) 2016-05-14 01:56:58 +01:00
Sam afb1c91c11 Allow TL4 users to accept answers (configurable via site setting) 2016-03-31 12:06:03 +11:00
pvalexander 4932748a1f Update client.ru.yml
Added translation
2016-01-09 14:33:50 +03:00
huulbaek f73d826937 Create client.da.yml 2015-10-24 13:15:19 +02:00
Régis Hanol d988f1ecfe Merge pull request #23 from davidgnavas/patch-4
Update client.es.yml
2015-10-07 10:14:57 +11:00
David García-Navas López de Cuéllar 2cc6b8ae47 Update client.es.yml 2015-10-06 16:28:53 +02:00
Rafael Silva 2eb3b16ea9 Add Brazilian Portuguese locale 2015-10-05 13:16:42 -03:00
Robin Ward 1e1b7d7327 Merge pull request #21 from IranOnRails/master
fa locale added
2015-09-14 13:44:24 -04:00
Erick Guan 4fb4cb3330 update translation 2015-09-14 19:13:23 +02:00
Sameer Rahmani a79939ccf6 silly mistyped locale name fixed 2015-09-14 21:10:07 +04:30
Sameer Rahmani 607b52d09d fa locale added 2015-09-14 20:50:01 +04:30
Erick Guan c9e581dad1 Update client.zh_CN.yml 2015-09-08 22:00:30 +02:00
Jonathan Brachthäuser 574ed92363 Added german translations for client and server interface 2015-08-31 16:23:14 +02:00
Robin Ward 0418dd37b0 FIX: Russian translations should be `ru` 2015-08-20 17:19:39 -04:00
Ilya Kuchaev 330907c4f1 Add Solution key translation 2015-07-21 23:20:57 +03:00
Sam be43938a56 Merge pull request #12 from Yachtsman/master
Russian translation
2015-07-21 10:15:16 +10:00
Jeff Atwood e736087326 copyedits 2015-07-20 15:56:26 -07:00
Muhammed Yalçınkaya 04b1b955a3 Update client.tr_TR.yml 2015-07-15 09:57:38 +03:00
Sam 394fbb83ff UX: shorten text to "Solution"
UX: styles Solved in green
UX: hide by XYZ by default
2015-07-14 16:18:56 +10:00
David García-Navas López de Cuéllar d3fcaaed5b update server.es.yml 2015-07-09 11:42:36 +02:00
Ilya Kuchaev 78c0267505 Russian translation 2015-07-09 11:53:37 +03:00
Robin Ward af5606a48a Merge pull request #9 from muhyal/patch-3
Update server.tr_TR.yml
2015-07-07 11:17:00 -04:00
Erick Guan e8e06dda78 Create server.zh_CN.yml 2015-07-06 22:22:25 +08:00
Jakub Syty c84fbd945b Polish translations 2015-06-25 16:02:59 +02:00
Muhammed Yalçınkaya 383d0d9f3a Update server.tr_TR.yml 2015-06-25 11:43:18 +03:00
Régis Hanol e321c12ff7 FEATURE: accepted solutions admin report 2015-06-25 02:41:24 +02:00
MIchael Solomon ac63d6941a Update client.he.yml
Forgot to remove "in" in "accepted_html"
2015-06-23 00:47:02 +03:00
MIchael Solomon 5c509d1e59 Create server.he.yml
Create server.he.yml
2015-06-23 00:24:39 +03:00
MIchael Solomon 35cf50ca7a Create client.he.yml
Add Hebrew locale
2015-06-23 00:20:19 +03:00
David García-Navas López de Cuéllar d65c7dd8a8 Create server.es.yml 2015-06-19 15:00:49 +02:00
Muhammed Yalçınkaya 3f8cfbfcdf Create server.tr_TR.yml 2015-06-19 09:21:55 +03:00
Sam d8705a278b FEATURE: site setting to enable solved globally 2015-06-19 16:08:43 +10:00
Erick Guan e033971fc8 Update client.zh_CN.yml 2015-06-18 22:19:07 +08:00
Régis Hanol 85bf7870f7 Merge pull request #1 from muhyal/patch-1
Create client.tr_TR.yml
2015-06-18 14:52:41 +02:00
David García-Navas López de Cuéllar 61206a610f Add spanish locale 2015-06-18 12:30:16 +02:00
Muhammed Yalçınkaya 22e84740ea Update client.tr_TR.yml 2015-06-15 22:40:56 +03:00
Sam 57b4cb853f FEATURE: display icon on front page 2015-06-15 16:26:40 +10:00
Sam 76e3b44cf5 FEATURE: add notification when an answer is accepted
Cleanup terminology (use solved vs accepted-answer)
Cleanup styling, get rid of green box
2015-06-15 14:24:49 +10:00
Erick Guan 471ae8bfad Create client.zh_CN.yml 2015-06-14 16:38:11 +08:00
Muhammed Yalçınkaya 2b7b16077b Create client.tr_TR.yml 2015-06-10 17:57:30 +03:00
Sam Saffron b662143cae FIX: correct button for anon
FEATURE: suppress button for staff
UX: remove strong green style
2015-06-10 18:31:49 +10:00
Sam Saffron 09292d6ff9 - Add security
- Add configuration option on categories to enable
2015-06-10 06:09:20 +10:00
Sam a4e9ee4552 first proof of concept, security still missing 2015-05-19 16:26:22 +10:00
Sam 43f40c9825 work in progress 2015-05-19 15:45:19 +10:00