Commit Graph

28 Commits

Author SHA1 Message Date
Sam Saffron
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
Gerhard Schlager
efa265cbc8 Rename mbox import script 2018-10-31 01:12:05 +01:00
Gerhard Schlager
edbc004a9a Remove old mbox import script 2018-10-31 01:12:05 +01:00
Arpit Jalan
f9ab3848ed FEATURE: support disabling emails for non-staff users 2018-06-07 18:31:08 +05:30
Guo Xiang Tan
5012d46cbd Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
Régis Hanol
9641d2413d REFACTOR: upload workflow creation into UploadCreator
- Automatically convert large-ish PNG/BMP to JPEG
- Updated fast_image to latest version
2017-05-11 00:16:57 +02:00
Jay Pfaffman
4ccd224c26 Add link to HOWTO 2016-10-12 13:29:19 -07:00
Jay Pfaffman
df3ac5e2e9 MBOX: replace email address with @username 2016-10-12 13:18:34 -07:00
Jay Pfaffman
40814aa66d no replace_email_addresses in this branch 2016-10-07 09:41:30 -07:00
Jay Pfaffman
1886f021e2 mbox: Improve error checking and reporting 2016-10-07 09:38:54 -07:00
Régis Hanol
3d7558c3b7 Merge pull request #4453 from pfaffman/mbox-config-from-env
mbox: move configuration to ENV, add default user level
2016-10-03 22:02:45 +02:00
Jay Pfaffman
84de8e92e1 Rexexp.escape LISTNAME 2016-09-28 08:40:31 -07:00
Jay Pfaffman
6e603c85a8 mbox: sort input files by title, sort messages by date 2016-09-26 12:18:11 -07:00
Jay Pfaffman
99860910fc mbox: move configuration to ENV, add default user level 2016-09-21 12:01:57 -07:00
Hanwen (Steinway) Wu
371f4f4be7 Fix SQLite datetime issues
The raw datetime string from raw emails doesn't conform to SQLite standard. Therefore it can't be sorted. This fix will make it conforming and sort-able by SQLite.
2016-08-26 12:47:03 -04:00
Sam
be76a9808a Merge pull request #4287 from steinwaywhw/patch-1
Fix frozen email string problem in mbox.rb
2016-06-29 16:32:30 +10:00
Robin Ward
8e5a22ba5d Support for mapping multiple mbox imports into categories 2016-06-28 16:35:19 -04:00
Hanwen (Steinway) Wu
3501c86cc8 Fix frozen email string problem in mbox.rb 2016-06-24 13:59:01 -04:00
Robin Ward
648bcb6432 More mailbox importer improvements 2016-06-20 14:58:53 -04:00
Robin Ward
2720205f78 Support gzipped mailbox files 2016-06-20 12:41:57 -04:00
Robin Ward
b42f28d4c3 Improved mailing list import.
Now uses a SQLite database to store messages rather than JSON files
for performance and memory considerations.
2016-06-14 11:45:17 -04:00
sghebuz
94cd87bb7c Import attachments to topics/replies on mailing list import 2016-03-24 16:05:58 +01:00
sghebuz
e2bb08e8ea Improve mail subject cleanup (localized reply and forwarded prefix) 2016-03-24 16:05:10 +01:00
sghebuz
335513de61 Fix mbox.rb for updated Email::Receiver API
This commit 3083657358 broke mbox importer.it.
Update the mbox importer for the new Email::Receiver API
2016-03-07 23:15:57 +01:00
Robin Ward
ebb16bfafc FIX: mbox import should respect date order after grouping 2015-10-27 14:22:07 -04:00
Robin Ward
3b35972d25 Improvements to importing a mailing list 2015-10-22 15:03:08 -04:00
Kane York
821124f3fd FEATURE: Skip batches if all records exist
Update all import scripts to take advantage of all_records_exist?
2015-09-21 17:13:02 -07:00
Robin Ward
33a5fce124 Importer for mbox format 2015-07-23 18:37:40 -04:00