David Taylor
b7c21ceb26
DEV: Apply syntax_tree formatting to script/*
2023-01-09 11:13:22 +00:00
Peter Zhu and GitHub
077003d795
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
Gerhard Schlager
e9f5368fd8
DEV: Improve mbox import script
...
* Better documentation of settings
* Add option to exclude trimmed parts of emails (enabled by default) to not revail email addresses
2020-03-14 00:00:36 +01:00
Sam Saffron and Guo Xiang Tan
5fbcc5cb35
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
53dacc95b8
Rename mbox import script
2018-10-31 01:12:05 +01:00
Gerhard Schlager
80c8c1d251
Remove old mbox import script
2018-10-31 01:12:05 +01:00
Arpit Jalan
4547a1723c
FEATURE: support disabling emails for non-staff users
2018-06-07 18:31:08 +05:30
Guo Xiang Tan and GitHub
5269b652cd
Add rubocop to our build. ( #5004 )
2017-07-28 10:20:09 +09:00
Régis Hanol
4f5884da92
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
9675bf8c60
Add link to HOWTO
2016-10-12 13:29:19 -07:00
Jay Pfaffman
ba7759d6b6
MBOX: replace email address with @username
2016-10-12 13:18:34 -07:00
Jay Pfaffman
33ab07f9c8
no replace_email_addresses in this branch
2016-10-07 09:41:30 -07:00
Jay Pfaffman
f9ee133f55
mbox: Improve error checking and reporting
2016-10-07 09:38:54 -07:00
Régis Hanol and GitHub
e2c7d3f782
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
1db9a537a4
Rexexp.escape LISTNAME
2016-09-28 08:40:31 -07:00
Jay Pfaffman
de5e5312b2
mbox: sort input files by title, sort messages by date
2016-09-26 12:18:11 -07:00
Jay Pfaffman
8a57a97b7f
mbox: move configuration to ENV, add default user level
2016-09-21 12:01:57 -07:00
Hanwen (Steinway) Wu and GitHub
ba4c585bd2
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 and GitHub
9ae5a9c8f1
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
4565850db3
Support for mapping multiple mbox imports into categories
2016-06-28 16:35:19 -04:00
Hanwen (Steinway) Wu and GitHub
1da43cbcdf
Fix frozen email string problem in mbox.rb
2016-06-24 13:59:01 -04:00
Robin Ward
d18f16b11e
More mailbox importer improvements
2016-06-20 14:58:53 -04:00
Robin Ward
a83ca67006
Support gzipped mailbox files
2016-06-20 12:41:57 -04:00
Robin Ward
d12f814860
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
f1f10d7f2e
Import attachments to topics/replies on mailing list import
2016-03-24 16:05:58 +01:00
sghebuz
4844dcc6f4
Improve mail subject cleanup (localized reply and forwarded prefix)
2016-03-24 16:05:10 +01:00
sghebuz
851555e9b1
Fix mbox.rb for updated Email::Receiver API
...
This commit https://github.com/discourse/discourse/commit/3212ebeac79154195f72fed260d985ae5293a115 broke mbox importer.it.
Update the mbox importer for the new Email::Receiver API
2016-03-07 23:15:57 +01:00
Robin Ward
5d30db7f12
FIX: mbox import should respect date order after grouping
2015-10-27 14:22:07 -04:00
Robin Ward
e4d58286b6
Improvements to importing a mailing list
2015-10-22 15:03:08 -04:00
Kane York
bf4bfddb85
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
8f95ea3a47
Importer for mbox format
2015-07-23 18:37:40 -04:00