Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Fix encoding issue with searching for macrons | Caleb | 2015-04-20 | -35/+37 |
| | | | | Correct indentation to be consistent | |||
* | Merge branch 'fix-text-masker-logger-call' into rails-3-develop | Louise Crow | 2015-04-16 | -11/+24 |
|\ | ||||
| * | Break up long line. | Louise Crow | 2015-04-16 | -1/+9 |
| | | ||||
| * | Make syntax a bit more readable. | Louise Crow | 2015-04-16 | -1/+1 |
| | | ||||
| * | Use implicit evaluation. | Louise Crow | 2015-04-16 | -1/+1 |
| | | ||||
| * | Clean up variable name | Louise Crow | 2015-04-16 | -2/+2 |
| | | ||||
| * | Clean up unneeded local variable. | Louise Crow | 2015-04-16 | -2/+1 |
| | | ||||
| * | Refactor a bit to allow testing of logic branches. | Louise Crow | 2015-04-16 | -10/+16 |
| | | | | | | | | | | Add specs for current behaviour on failure to uncompress, failure to compress. | |||
| * | Call logger explicitly because it's not in scope here | Henare Degan | 2015-04-16 | -1/+1 |
| | | | | | | | | | | Prevents exception `undefined local variable or method 'logger' for AlaveteliTextMasker:Module` being thrown. | |||
* | | Set standard default values. | Louise Crow | 2015-04-14 | -2/+2 |
|/ | ||||
* | Make clear that it is only the production delivery method that is being set. | Louise Crow | 2015-04-14 | -1/+1 |
| | ||||
* | Make clear that SMTP mail settings are SMTP-specific. | Louise Crow | 2015-04-14 | -9/+9 |
| | ||||
* | Allow configuration for SMTP settings | Caleb | 2015-04-09 | -1/+9 |
| | ||||
* | Handle the expected case where conversion fails and returns nil. | Louise Crow | 2015-04-02 | -1/+2 |
| | ||||
* | Merge branch '1472-simpler-external-process-management' into rails-3-develop | Louise Crow | 2015-03-24 | -30/+43 |
|\ | ||||
| * | Handle a child that cannot be terminated. | Louise Crow | 2015-03-23 | -1/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Basic handling that is the same as for other process errors - just write to stderr. Add TODO for allowing the calling code to specify an error stream to allow other handling. In different circumstances, the calling code might want to raise an exception, write to the log, or do something else. At the moment this code assumes a cron context and writes to stderr, which will cause an email to be sent from the cron process, but that's not always the context the calling code is being run in. So we may be missing errors that are, for example, being written to stderr during the request cycle. In fact, this code may be called from the same place with different contexts (i.e. as part of a cron reindexing task and in the request cycle), so at the moment some substantial refactoring of the calling code would be required to make sure calls to this code handle errors appropriately for each context. | |||
| * | Give messages standard start text. | Louise Crow | 2015-03-23 | -3/+3 |
| | | | | | | | | To make it easier to find them in other output. | |||
| * | Set options via options hash only. | Louise Crow | 2015-03-23 | -16/+3 |
| | | ||||
| * | Add a default timeout of 20 mins to external commands. | Louise Crow | 2015-03-23 | -1/+3 |
| | | ||||
| * | Give a forced timeout its own error message. | Louise Crow | 2015-03-23 | -2/+11 |
| | | | | | | | | Clarify grouping of command and arguments with quotes. | |||
| * | Separate flags for binary input and output | Louise Crow | 2015-03-23 | -3/+8 |
| | | | | | | | | | | There may be cases where the input is binary but the output is encoded text. | |||
| * | Allow options hash to be passed to ExternalCommand. | Louise Crow | 2015-03-23 | -2/+3 |
| | | | | | | | | Document :timeout as a possible option key. | |||
| * | Factor out find_program method. | Louise Crow | 2015-01-27 | -13/+14 |
| | | ||||
* | | Merge branch 'translation-script' into rails-3-develop | Louise Crow | 2015-03-23 | -1/+46 |
|\ \ | ||||
| * | | Add rake task for uppdating locale files with slightly changed msgids | Louise Crow | 2015-03-23 | -1/+46 |
| | | | | | | | | | | | | | | | | | | We don't really want to make all the translators retranslate strings that are basically the same but slightly tweaked in the English version. So this task just replaces the msgid in the app.po files for each locale. | |||
* | | | Update Croatian language | Miroslav | 2015-03-17 | -1/+1 |
|/ / | | | | | Just updating to first caps to match GUI context | |||
* | | Remove deprecated code. Fixes #2015. | Louise Crow | 2015-02-26 | -102/+0 |
| | | ||||
* | | Merge branch '2101-country-specific-select-authority' into rails-3-develop | Gareth Rees | 2015-02-19 | -0/+1 |
|\ \ | ||||
| * | | Add AUTHORITY_MUST_RESPOND configuration option | Gareth Rees | 2015-02-19 | -0/+1 |
| |/ | ||||
* | | Merge branch 'hotfix/0.20.0.11' into rails-3-develop | Louise Crow | 2015-02-13 | -2/+1 |
|\ \ | |/ |/| | ||||
| * | Set binary mode to false in call to pdftohtml | Louise Crow | 2015-02-13 | -2/+1 |
| | | | | | | | | | | We want the HTML to be encoding in the default encoding so that it can be combined with other strings. | |||
* | | Update language mappings | Gareth Rees | 2015-01-06 | -2/+2 |
| | | | | | | | | | | | | | | | | [11:41:15] <louise> pere: did you decide if you'd prefer "Bokmål" to "Norsk Bokmål" as the description? [11:41:51] <pere> louise: yes. pull request will show up. We go with Bokmål and Nynorsk in the web page, as it is now on <URL: URL_REDACTED>. | |||
* | | Merge branch 'rails-3-develop' of ↵ | Louise Crow | 2014-12-15 | -5/+20 |
|\ \ | | | | | | | | | | ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop | |||
| * \ | Merge branch 'gettext_clean_theme' into rails-3-develop | Gareth Rees | 2014-12-12 | -5/+20 |
| |\ \ | ||||
| | * | | Extract duplication in gettext theme tasks | Gareth Rees | 2014-12-11 | -11/+10 |
| | | | | ||||
| | * | | Add task to clean theme translations | Gareth Rees | 2014-12-11 | -0/+16 |
| | |/ | ||||
* | / | Refactor the application of masks and censor rules to messages. | Louise Crow | 2014-12-15 | -0/+127 |
|/ / | | | | | | | | | | | | | | | | | | | Seems more logical to make this one method that figures out what to do based on file type. Plus, incoming message does so many things, it seemed like having these related methods be separate would make them easier to read and understand. Also, email, mobile and login substitution texts weren't being translated. Finally, I think passing the censor rules and masks as arguments is a first step in some more decoupling of models. | |||
* | | Merge branch 'catch-openuri-timeout-errors' into rails-3-develop | Louise Crow | 2014-12-11 | -2/+13 |
|\ \ | |/ |/| | ||||
| * | Use exception notification for third party url errors | Louise Crow | 2014-11-14 | -2/+13 |
| | | | | | | | | Include URL and error in notification and log. | |||
| * | Catch timeouts in quietly_try_to_purge | Ian Chard | 2014-11-03 | -1/+1 |
| | | | | | | | | | | Although many times of errors are caught, the case where a connection is made but no reply is received resulted in an uncaught Timeout::Error. | |||
* | | Support the full four-point version string | Gareth Rees | 2014-11-19 | -0/+2 |
| | | ||||
* | | Add fix for Apple Mail with attachments | Gareth Rees | 2014-11-04 | -0/+4 |
| | | ||||
* | | Allow resetting of the locale pattern on the locale routing filter. | Louise Crow | 2014-10-28 | -0/+9 |
| | | | | | | | | | | | | | | An order-dependent error in locale integration tests (https://travis-ci.org/mysociety/alaveteli/jobs/37914013) showed that the routing filter pattern was not being updated from it's initial value when a new set of available locales was passed to AlaveteliLocalization. | |||
* | | Merge branch 'issues/222-category-editing-add-order-interface' into ↵ | Louise Crow | 2014-10-14 | -74/+97 |
|\ \ | | | | | | | | | | rails-3-develop | |||
| * | | Remove default public_body_categories_[locale].rb files. | Louise Crow | 2014-10-09 | -39/+0 |
| | | | ||||
| * | | Remove old PublicBodyCategories calls. | Louise Crow | 2014-10-09 | -0/+11 |
| | | | | | | | | | | | | | | | Add deprecation notice to draw attention to any place where PublicBodyCategories is called from themes. | |||
| * | | fixup! Don't migrate categories automatically. | Louise Crow | 2014-10-09 | -6/+10 |
| | | | ||||
| * | | Find by translated name correctly. | Louise Crow | 2014-09-26 | -2/+4 |
| | | | | | | | | | | | | | | | | | | .where doesn't seem to use the translations with this version of Globalize, even in a locale block. As this is run-once code to migrate, I think we're fine with the old syntax. | |||
| * | | Create module to clarify what code is just for migrating from files. | Louise Crow | 2014-09-25 | -0/+85 |
| | | | ||||
| * | | Basic category admin screen | lizconlan | 2014-09-22 | -0/+20 |
| | | |