Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/freerange/sauron
The All Seeing Eye
https://github.com/freerange/sauron
7acda1b28970341c8d83505ce01e97e95b9fa709 authored almost 13 years ago
This forces us to obtain the mail-identifying account & uid from the
first mail index record on ...
We haven't attempted to write a `down` method for this migration,
because we don't think it's wo...
- We introduced an "integration" test that checks the behaviour we care
about when putting dat...
We didn't notice message index uids were integers when we introduced the
mail index uid column a...
This brings usage of message and mail closer to that outlined in doc/README_FOR_APP.
e7afc76631ff5bb96734f84e0ee8d60a362d7e72 authored almost 13 years ago
We don't want it to kill the machine whenever it has to do some catching
up.
dd1f9c4b06612178c259ba8a640eacbee71956ad authored almost 13 years ago
- This is a bit of a bodge, especially setting the `job_template` to
`nil`, but I hope it should...
- Write the original exception backtrace in the log.
- Write the original exception class to std...
3df432caebd56843c67b12cb19b26e5969944ba3 authored almost 13 years ago
The plan is to remove the account & uid attributes from the message
index records, so we need to...
- ActiveRecordMessageIndex.find_all_by_message_hash is now redundant and
has been removed.
- M...
cfbe5fd55230c680d95cb8f4fbb7033999d684c2 authored almost 13 years ago
By introducing Message.build we can isolate the underlying changes to
the Message and reduce the...
- By changing the setup to pretend that #delivered_to is no longer
available on message index re...
Eventually we want to be able to obtain all the recipients for a given
message by querying its "...
0529f05024fd256b138a4347ceb03972c021a844 authored almost 13 years ago
fc2ddabd5209a9ff215ad3b3d7b1d9ed634f0769 authored almost 13 years ago
d526e771db72e76a180ca9f2bc773317130e9660 authored almost 13 years ago
At the moment we are doing a query for each of the 500 messages returned
by ActiveRecordMailInde...
f594879bcbd1d918efaccc0cf0900b8f160f8f25 authored almost 13 years ago
75a20eb005c729a2091adaee5494a1df2dc62eb6 authored almost 13 years ago
Since we changed the implementation of Message#recipients in
1a8e5cd91b4001eceb7ccfb22b599167cc4...
It's safe to do this since we improved the performance of
Message#recipients in b4284659a864c384...
- Now that Mail#delivered_to is stored in the MailIndex, it's much more
efficient to obtain the ...
This was inadvertently removed in
543720d111a8252c6d2c073106104a8f5b71e074.
Using the real message id (rather than generating a hash when it can't be found) moves the solut...
d43db3ef0839149d857e817a3b36a31ecc0786a6 authored almost 13 years ago
- Working out whether a message has been delivered to a particular
person is currently very in...
dc4cc39386033a5480c18362fd84facc9273fc25 authored almost 13 years ago
8055b2b5d616bae68e1f0805ee58785de2b0809b authored almost 13 years ago
Combine MailWrapper into Mail.
6f305ceeb728cd021d3fd193f348a5c25c4338b9 authored almost 13 years ago543720d111a8252c6d2c073106104a8f5b71e074 authored almost 13 years ago
These tests are now redundant.
d2e5ca8cc71958c2acb432e77fb02c5547198724 authored almost 13 years ago833bc8cb4819bb1b9ea133e91966c60f1446561f authored almost 13 years ago
This matches the unit test for the class which is already in a
separate file.
- MailWrapper is only used by Mail and I'm not convinced there is enough
distinct behaviour in e...
I don't think the behaviour in MailWrapper is significant enough or
distinct enough to merit a s...
We think this is slightly better than making the whole message bold.
Bold messages imply some id...
Because we now call Message#received_by? for every message on the
messages index page, we end up...
a631428e0bf0b1ec76dbf7f333a98f022e581341 authored almost 13 years ago
- I want to show some user-specific information i.e. whether a message
was received by the cur...
The changes to MessageTest in 49628d7bcdc3f1bbc78ebe7039eb4af4d65107b2
had been lost.
5a601ed6ee321aed38fa399d944ddae5606c99a4 authored almost 13 years ago
Some of this is a bit clunky, but it should do for now.
9f5d8f393d4bee06682fe2656becfac4f350e546 authored almost 13 years ago
- We were doing this for MessageRepository.find, but not for
MessageRepository.messages. In th...
29d6ffd144404724e9d0f2aff817f8a0fdfffc51 authored almost 13 years ago
We saw the following problem when importing emails for @floehopper's
account:
undefined metho...
cfe291fd7ee68d89946fcff9e4856ed723bd8d4b authored almost 13 years ago48e0da3fb8e493f88006eae04cc5961180c354b6 authored almost 13 years ago
Bootstrap is a quick way to start. We're not using the asset pipeline
because it doesn't work we...
21b0883e5dbe48c8c25767ff7debec4cff2c5969 authored almost 13 years ago
49628d7bcdc3f1bbc78ebe7039eb4af4d65107b2 authored almost 13 years ago
A Message is now instantiated with all Mail records that match its message ID, so it can get any...
3766f5b5327b8349fe2b88830f469bd0db72cf29 authored almost 13 years agoSome messages don't have a subject or a date. This is probably because the messages themselves w...
971ccf6876babc1bbd51262e0df4b759b91863c0 authored almost 13 years agoThis should've been done in 883769890ba36b759c4b765ca2e9736bf55a1650
fff895434d25151cd80ee861b3c97ba396649eb1 authored almost 13 years agoWe didn't end up extracting anything into a "MailRepository" as mooted in the 'Clarify `Mail` vs...
f9aeedaa947fc127c0ad5e4ce1e788d8e6009756 authored almost 13 years ago
We considered a few approaches, including extracting a Message record
for storage in the databas...
There's not much advantage in passing the various attributes of the
index record into `LazyOrigi...
c45c4f26705b845fa8f221bb623a35571e98e33d authored almost 13 years ago
I want to start dealing with the multiple copies of an email that we
might end up importing in a...
We're trying to make it clearer that mails are going in to this object,
but messages are coming ...
We don't need to be able to call `where` from the MessageRepository, and
defining our own method...
We had a conversation about whether or not two entry points was making
the system more complex. ...
3556696cbd617c6e2c77af53ab37328d8c64616a authored almost 13 years ago
* freerange-body-encoding:
Always convert mail body into UTF-8 before doing anything with it.
...
- A raw email message (or its constituent parts) can be encoded in
many different character se...
I think it makes it clearer that we are generating the raw message.
638fd4fa7454fbec2bcb49b2e5e539254840636b authored almost 13 years agoI think this makes it clearer what's being tested.
a519f6117268253026259333dd0281c7980c9853 authored almost 13 years agoThis is still not really defined behaviour.
08e5e92f75184338bc24301ffad46329c58ef515 authored almost 13 years agoThe import now ensures that every message is indexed with its message ID, and that is sufficient...
c0dbaf306bbe27bf83261c19697482b10bad3d2a authored almost 13 years agoAdding it as a comment allows us developers to read it when needed, whilst keeping it out of the...
feb1eddc922f1f3fc634e17fc244c80e83a3d554 authored almost 13 years ago
/Users/jamesmead/Code/freerange/sauron/test/unit/message_repository_test.rb:11:
warning: top...
I think we're going to want to call a 'message' the thing that's uniquely identified by the mess...
4f2c584c6b3921780a0bd18bc5707666e4c75adb authored almost 13 years agoTHE FLAMING EYE!
2cb041cbc434c5695f4788141b3cbb0d12a1a6e1 authored almost 13 years ago
- We saw one of these exceptions during a recent import.
- We believe it occurred when another p...
db74dad496e1ae4e752ade47665567bdc3db5a84 authored almost 13 years ago
ea8494584adb56fcf1e1e1272203c4a263653cc4 authored almost 13 years ago
Repository collaborates with an index
84c6fb598bcc39b3377f8cb5f4b47a5853892bc3 authored almost 13 years ago5ffe6f295f940f5452a5592752d896d7045e3f3e authored almost 13 years ago
Having an accessor (and test) just for the index, and not the store seems strange. Introducing ...
ca8fc10390940f20eff649671c57cf20740d24ae authored almost 13 years agoIt's more like an index, so can be renamed ActiveRecordMessageIndex. The interface to the index...
bd6b9c711db24556ccc5727b7cb2f6c7f6780597 authored almost 13 years agoReturning a Message class from a Mailbox removes the need to repeat arguments
ae2b67d179eb88c0857cd9d969849c09ce8b8cee authored almost 13 years ago7e79abac324a4b5ed4e3b50159befd360e844f1e authored almost 13 years ago
When importing a message, multiple methods take the same three arguments: the account, the uid a...
626c99b304ba48b42c91f4d409f685ec75421328 authored almost 13 years ago- Otherwise this information was being lost.
a76545301aeb278c2a95ec08d08d177ddd03ebb1 authored almost 13 years ago
We plan to run this manually on the server, and expect it to take a long
time.
We're currently showing each message up to four times (once for each of
our accounts) in the mes...
- I've checked that this adds the MAILTO env variable to the crontab.
- I've checked that the ra...
It's a bit confusing with so many classes in the same file.
cee593b8f8e5f131dc1a304da70d5f80fe80dd6c authored almost 13 years ago
We encountered a Lithuanian spam email whose subject was actually in
Windows-1257, containing by...
We still can't quite decide about whether or not to proceed with a brute-rencoding of subjects o...
5ce61255351c55729d4acd37807d51f3fc25f000 authored almost 13 years agoWhen trying to import messages from [email protected], it failed on UID 963. Via the co...
30684e09dbf1a42e7a20d833107b3ddfa66510cb authored almost 13 years agoI don't want this to run until I know how long the import takes, and until we've got everyone's ...
7f6a44bd2f42e21e558d9b14fa2b167103672336 authored almost 13 years agoImprove import performance.
fc78330f46ab858b688dfa7eef82c550e115e4bb authored almost 13 years agoI think it's a bit simpler this way.
3f0f3ceed982993699d9687e0a63e1da80b647a4 authored almost 13 years ago
- Find the highest stored UID.
- Only ask IMAP server for UIDs at least as big as this highest UID.
- The IMAP RFC says UIDs are 32-bit integers.
- I want to be able to find the highest UID alread...
I'm not seeing messages from the second team account imported. This might help find out why.
c4d26c5fb5fb73dbc65bf6e013692be4f3c7ddfe authored almost 13 years ago6fc67c5fe12086744fcdd2264789751508671407 authored almost 13 years ago
Multiple accounts
17a8c5dfd01523d0273e1995748610cc4741d2f0 authored almost 13 years ago