1
0
Fork 0

Adding upstream version 1.0.2.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-18 13:52:48 +02:00
parent f0ce5b079b
commit b1c5a31457
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
136 changed files with 2310 additions and 0 deletions

3
testdata/reply/delimiters.txt vendored Normal file
View file

@ -0,0 +1,3 @@
This is not a ---------- delimiter.
But there should be no delimiter after this line

1
testdata/reply/dual_embedded.txt vendored Normal file
View file

@ -0,0 +1 @@
This is the 3rd email.

1
testdata/reply/email_headers_1.txt vendored Normal file
View file

@ -0,0 +1 @@
This is a reply from Outlook!

1
testdata/reply/email_headers_2.txt vendored Normal file
View file

@ -0,0 +1 @@
This is a reply from Outlook!

1
testdata/reply/email_headers_3.txt vendored Normal file
View file

@ -0,0 +1 @@
This is the actual reply.

1
testdata/reply/email_headers_4.txt vendored Normal file
View file

@ -0,0 +1 @@
test

11
testdata/reply/email_headers_5.txt vendored Normal file
View file

@ -0,0 +1,11 @@
Hi Erlend,
I dont know what a “legally recognised educational institution” means for you.
Were based in Sweden and we provide education to our people across the globe.
We want to try Discourse in small scale first to see it will add value to our communities.
Best regards,
//Jef

4
testdata/reply/embedded_ception.txt vendored Normal file
View file

@ -0,0 +1,4 @@
This is the reply.
Thanks,
Some One

1
testdata/reply/embedded_email_1.txt vendored Normal file
View file

@ -0,0 +1 @@
This is before the embedded email.

1
testdata/reply/embedded_email_10.txt vendored Normal file
View file

@ -0,0 +1 @@
Thank you.

1
testdata/reply/embedded_email_11.txt vendored Normal file
View file

@ -0,0 +1 @@
Before

1
testdata/reply/embedded_email_12.txt vendored Normal file
View file

@ -0,0 +1 @@
One 1

3
testdata/reply/embedded_email_13.txt vendored Normal file
View file

@ -0,0 +1,3 @@
yes we're fine
thanks

3
testdata/reply/embedded_email_14.txt vendored Normal file
View file

@ -0,0 +1,3 @@
I just saw the standard plan has the slack integration.
Thank you!

3
testdata/reply/embedded_email_15.txt vendored Normal file
View file

@ -0,0 +1,3 @@
[message body]
/ Greetings

11
testdata/reply/embedded_email_16.txt vendored Normal file
View file

@ -0,0 +1,11 @@
> From: "Albert Wagner" <alwagner@tcac.net>
>
> > Some guy at ibraheem@localhost(?) needs to be unsubscribed. I
> > keep getting bounces from his ISP everytime I post. Surely,
> > everyone else is getting the same?
>
> Surely it doesn't need to be said anymore, but I *still* am.
> What's happening with this?
Yep, me too, although I bet due to RubyConf/OOPSLA, it may be a little
longer yet...

35
testdata/reply/embedded_email_17.txt vendored Normal file
View file

@ -0,0 +1,35 @@
The intent was to return nil when the first value was nil.
That was the op's issue.
If one of the values was nil, she/he wanted nil.
Nil && anything_else will always return nil, and I will not evaluate the
second clause.
> >>>>>>>>
> It should be:
> 2.0 && 2.0 + 12.0
> <<<<<<<<<
>
> Ah! Yes, that works.
>
>
People are intent on not understanding, aren't they.
def nil_add_12 f
f && f + 12.0
end
Generalised to two parameters:
def nil_add a, b
a && b && a + b
end
The only quirk is the way they handle `false`.
This is not tested, but it may be possible to do this, too:
f&.+ b
Cheers

5
testdata/reply/embedded_email_18.txt vendored Normal file
View file

@ -0,0 +1,5 @@
nil && 2.0 + 12.0
It should be:
2.0 && 2.0 + 12.0

13
testdata/reply/embedded_email_19.txt vendored Normal file
View file

@ -0,0 +1,13 @@
I had a really hard time with the official guide, so when I finally
figured it out, I wrote one of my own:
http://ryanlue.com/posts/2017-02-18-how-to-publish-a-gem
Let me know if you like it (or if you don't) any feedback is highly
appreciated!
—Ryan

3
testdata/reply/embedded_email_2.txt vendored Normal file
View file

@ -0,0 +1,3 @@
I have checked the available documentation/links to find out the end points. If there are some other endpoints, can you please tell the endpoints
Best Regards

7
testdata/reply/embedded_email_3.txt vendored Normal file
View file

@ -0,0 +1,7 @@
Sure, [Bitnami](http://bitnami.com/stack/discourse) supports EC2 and there
are several topics here about it.
Our [official install guide](
https://github.com/discourse/discourse/blob/master/docs/INSTALL-ubuntu.md)
also works great on an Amazon EC2 provisioned virtual machine with very
little change.

2
testdata/reply/embedded_email_4.txt vendored Normal file
View file

@ -0,0 +1,2 @@
If I do exactly that, then the test group won't be saved after a refresh of
the page.

1
testdata/reply/embedded_email_5.txt vendored Normal file
View file

@ -0,0 +1 @@
I am testing the SOMEONE_EMAIL_WROTE_REGEX regular expression.

7
testdata/reply/embedded_email_6.txt vendored Normal file
View file

@ -0,0 +1,7 @@
Ensuring that ON_DATE_SOMEONE_WROTE_REGEXES is not greedy.
On this day
I wrote something
which was very interesting.

10
testdata/reply/embedded_email_7.txt vendored Normal file
View file

@ -0,0 +1,10 @@
This is a line before the embedded email.
> Hello
>
> This is the embedded email.
This is some text
after the
embedded email.

1
testdata/reply/embedded_email_8.txt vendored Normal file
View file

@ -0,0 +1 @@
Foo

1
testdata/reply/embedded_email_9.txt vendored Normal file
View file

@ -0,0 +1 @@
Bar

View file

@ -0,0 +1,2 @@
Hi Erlend Sogge Heggen,
Thank you for your reply.

View file

@ -0,0 +1 @@
Nice of you to pick it up! Could you make a PR? Then other people can use it too. Would be great.

View file

@ -0,0 +1,2 @@
The adblocker idea from @elberet might be it. Regretfully I only have time
to test this in 2 weeks. I will let you know then...

View file

@ -0,0 +1 @@
C'est super !

View file

@ -0,0 +1 @@
Thanks for your answer.

View file

@ -0,0 +1 @@
alright, no big deal - I assume in this case the code needs some refactoring to better support I18N anyway.

View file

@ -0,0 +1 @@
Hey:)

View file

@ -0,0 +1 @@
Gruß Discourse

View file

@ -0,0 +1 @@
Hi there! I am replying from my german Google Inbox.

View file

@ -0,0 +1 @@
Okay. Will give it a whirl.

View file

@ -0,0 +1,4 @@
Ich habe konzeptionell eine Präferenz für die zweite Option. Die 2 VLs
stellen die Inhalte vor, und präsentieren diese in einen größeren Kontext.
Dann beginnt das Training der technischen Finessen mit Trainingsblatt,
Trainingsvideos usw. Bin gleichzeitig robust, sofern nötig.

View file

@ -0,0 +1 @@
Ok, will do. As a test, this is a reply from a webmail client.

View file

@ -0,0 +1 @@
Thanx :-)

View file

@ -0,0 +1 @@
Oh, I've forgot to add. MIT

View file

@ -0,0 +1,2 @@
Hi Neil,
Thanks for prompt response!

View file

@ -0,0 +1,2 @@
Olá,
Qualquer dúvida estamos ai.

View file

@ -0,0 +1,2 @@
when I said looks possible, I pointed to rack because that's still the web
server level

View file

@ -0,0 +1 @@
Why don't you override particular strings with JS?

View file

@ -0,0 +1 @@
Yes.

View file

@ -0,0 +1,6 @@
I've configured Twitter Authentication, so this error happends on the
application, after twitter posts to my discourse install via the callback.
In the front error I can get a correct message saying "Something waa wrong,
check you usename and password" and in the backend I see that error in the
logs.

View file

@ -0,0 +1 @@
Igual que siempre (inclusive ahora), sin nada raro :/

View file

@ -0,0 +1,9 @@
Hi everyone!
Here you can find the pictures that I took https://foo.bar
It was a pleasure to support this event.
Best regards
Some One

View file

@ -0,0 +1 @@
Спасибо еще раз.

0
testdata/reply/empty.txt vendored Normal file
View file

1
testdata/reply/forwarded_message.txt vendored Normal file
View file

@ -0,0 +1 @@
This is a forwarded email. And just that.

View file

@ -0,0 +1,4 @@
Email with
windows
line
endings

3
testdata/reply/quote_and_text.txt vendored Normal file
View file

@ -0,0 +1,3 @@
> This is a quote.
And this is some text.

1
testdata/reply/quote_only.txt vendored Normal file
View file

@ -0,0 +1 @@
> Email with only quote.

View file

@ -0,0 +1,13 @@
Formatting and
spaces
- A
- B
- C
should be retained
- Item #1
- Item #2

1
testdata/reply/signature.txt vendored Normal file
View file

@ -0,0 +1 @@
This email has a signature

1
testdata/reply/signatures.txt vendored Normal file
View file

@ -0,0 +1 @@
This email was sent from way too much different devices ;)

1
testdata/reply/strip.txt vendored Normal file
View file

@ -0,0 +1 @@
Strip leading and trailing empty lines.

1
testdata/reply/text_only.txt vendored Normal file
View file

@ -0,0 +1 @@
Email with only text.

View file

@ -0,0 +1,9 @@
Email before divider.
--
Email between divider.
---
Email after divider.

1
testdata/reply/usenet.txt vendored Normal file
View file

@ -0,0 +1 @@
Mal sehen was hier mit der Signatur passiert!