Jason
d41b75d54b
Added CSS
2014-08-22 12:38:38 -04:00
exoWM
841a1b117e
Added CSS
2014-08-22 16:35:11 +00:00
Matt Miller
184fed9fc5
UnixTime: subsume Epoch.pm functions.
...
There's no need to have a different Goodie to handle the "no remainder"
query case, so we'll just combine both into this single Goodie.
Also makes the goodie slightly more resilient against bad inputs by
`eval`ing all the way up through the DateTime creation and string
gathering.
2014-08-22 11:37:06 -04:00
Lars Jansøn Engvik
c16a193729
Adding CSS.
2014-08-22 08:56:00 +00:00
Jason
cbecb4dd68
Added abstract
2014-08-21 17:50:56 -04:00
exoWM
f2ca580240
Merge branch 'master' of github.com:exowm/zeroclickinfo-goodies
2014-08-21 21:14:54 +00:00
exoWM
d96dc2cb85
Answering the ultimate question to life the universe and everything.
2014-08-21 21:11:55 +00:00
Zaahir Moolla
4eb689b99b
Merge pull request #604 from mwmiller/primes-version
...
dist.ini: bump Math::Prime::Util version
2014-08-21 08:13:17 -04:00
Matt Miller
d5b222daf0
dist.ini: bump Math::Prime::Util version
...
The change to `divisors` in #599 is not present in older versions of
MPU. Previous installaions might not be upgraded if this is not bumped.
`0.43` is known working.
2014-08-21 08:06:09 -04:00
Rob Emery
e241366025
Merge branch 'master' into mintsoft/public_dns
2014-08-20 22:56:27 +01:00
Rob Emery
c44ff96a17
PublicDNS: removing border
2014-08-20 21:55:43 +01:00
Rob Emery
fd24410de0
Merge pull request #602 from mwmiller/html_enc
...
Switch encode_entities() to html_enc()
2014-08-20 21:49:19 +01:00
Matt Miller
963118b057
DatesRole: Add ABSTRACT.
2014-08-20 16:34:32 -04:00
Matt Miller
89d34ba766
Switch encode_entities() to html_enc()
...
This is pretty much a straight one-for-one swap with some minor goodness
in the form of the already wrapped up array handling in one case.
I did not do any refactoring of the code although some places looked
like they could use it.
Addresses issue #591 .
2014-08-20 15:52:51 -04:00
Rob Emery
73b808d063
Merge branch 'master' into mintsoft/date_role
2014-08-20 20:44:20 +01:00
Rob Emery
52f0a1aec3
Merge pull request #601 from mwmiller/scroll-spam
...
Fix minor code layout issues.
2014-08-20 20:38:51 +01:00
Matt Miller
5481cf4ebc
Fix minor code layout issues.
...
Reducing scroll spam from dzil by:
- Providing ABSTRACTs for all packages.
- Leaving VERSION vertical space where necessary.
Addresses #600 plus other annoyances in the process.
2014-08-20 14:45:33 -04:00
Matt Miller
7f14010a46
Merge pull request #574 from duckduckgo/zaahir/fliptext-utf8
...
simplify FlipText Goodie using Text::UpsideDown
2014-08-20 12:25:22 -04:00
Zaahir Moolla
4c170fa4ec
reorder return logic
2014-08-20 15:18:51 +00:00
Lars Jansøn Engvik
1f6e6b0e10
Updating tests.
2014-08-20 08:07:32 +00:00
Lars Jansøn Engvik
1e3f92f14d
Fixed capitilization.
2014-08-20 08:04:41 +00:00
Rob Emery
3cc0578e1d
Merge branch 'mintsoft/date_role' of github.com:duckduckgo/zeroclickinfo-goodies into mintsoft/date_role
2014-08-19 19:44:52 +01:00
Rob Emery
d064be2ed1
CalendarToday: more minor layout
2014-08-19 19:44:31 +01:00
Rob Emery
701c2d6c62
Merge branch 'mintsoft/date_role' of github.com:duckduckgo/zeroclickinfo-goodies into mintsoft/date_role
...
Conflicts:
lib/DDG/Goodie/CalendarToday.pm
2014-08-19 19:42:54 +01:00
Matt Miller
a36ecaa29a
CalendarToday.t: test 'last <month>' triggering.
...
No definitive answer on whether or not it's the correct one,but it
triggers and renders. Jus tin case next and last get separated.
2014-08-19 14:42:26 -04:00
Rob Emery
c1da3fc66e
CalendarToday: Minor layout stuff
2014-08-19 19:41:17 +01:00
Matt Miller
e7a2d170da
CalendarToday: niggly formatting stuff.
...
None of this really matters, but when I looked at my previous diff some
of this stuff annoyed me, so tidying up a bit.
2014-08-19 14:39:28 -04:00
Rob Emery
eecb9c315f
CalendarToday: Fixing timebomb with tests
2014-08-19 19:35:12 +01:00
Matt Miller
c9937790b3
CalendarToday: deeper refactoring of output.
...
- Clean up/remove some globals which confused things.
- Simplify logic-flow.
- Remove extraneous </div> from HTML output.
- Expand triggers to short months.
DatesRole:
- Create month_regex() to handle combo of short and full.
2014-08-19 14:27:31 -04:00
Rob Emery
7a6eff2329
Merge branch 'mintsoft/date_role' of github.com:duckduckgo/zeroclickinfo-goodies into mintsoft/date_role
2014-08-19 19:10:32 +01:00
Rob Emery
d33211838d
Merge pull request #599 from duckduckgo/jag/divisors
...
Newest v. of Math::Prime::Util renamed all_factors to divisors.
2014-08-19 19:09:51 +01:00
jagtalon
169105ac62
Newest v. of Math::Prime::Util renamed all_factors to divisors.
...
Changing the name should make all the tests pass again.
2014-08-19 17:17:34 +00:00
Matt Miller
3bb103fee1
Merge branch 'master' into mintsoft/date_role
2014-08-19 11:22:31 -04:00
Jag Talon
b2ba0df3bc
Merge pull request #596 from mwmiller/perl_520
...
VIN: remove "Useless use of greediness modifier"
2014-08-19 11:15:51 -04:00
Matt Miller
2631dcdd45
VIN: remove "Useless use of greediness modifier"
...
Perl 5.20 generates a warning on this which cascades into a failure in
our environment.
2014-08-19 11:01:08 -04:00
Lars Jansøn Engvik
750b8477b8
Game of Thrones easter egg IA.
2014-08-19 12:55:10 +00:00
Jag Talon
6f826aacc3
Merge pull request #589 from exoWM/master
...
Fixes overflow error by adding 'using bigint;'
2014-08-18 18:39:03 -04:00
Jag Talon
6b667ccede
Merge pull request #586 from mwmiller/small_calc
...
Calculator: better display for very small floats.
2014-08-18 18:07:26 -04:00
jagtalon
54146b0b51
Merge branch 'master' into jag/format
2014-08-18 21:58:27 +00:00
jagtalon
328dc739f4
Format the tests as well.
2014-08-18 21:57:27 +00:00
jagtalon
f90bd04fef
Format CalcRoots, Password, and RandomNumber.
...
- Fix mixed line endings.
- Convert tabs to spaces.
2014-08-18 21:53:55 +00:00
Rob Emery
dca95bc20f
CalendarToday: Adding test for "calendar" as it should have a day highlighted
2014-08-18 22:43:59 +01:00
Jag Talon
5f1c351cde
Merge pull request #562 from duckduckgo/jd/closed_goodies
...
Release closed source goodies
2014-08-18 17:42:14 -04:00
Rob Emery
d00251c587
CalendarToday: Fixing tests and layout; reverted change for "calendar" working
2014-08-18 22:39:55 +01:00
jagtalon
ecd0e6d58a
Merge branch 'jd/closed_goodies' of https://github.com/duckduckgo/zeroclickinfo-goodies into test
2014-08-18 21:35:59 +00:00
Rob Emery
9c9227f754
Weekdays & WorkdaysBetween: Removing Time::Piece
2014-08-18 21:06:00 +01:00
Rob Emery
b6f2728e94
WorkdaysBetween: Fixing regex for date separator
2014-08-18 21:00:54 +01:00
Rob Emery
8fc0a8cefa
CalendarToday: Spacing out try
2014-08-18 20:55:17 +01:00
Rob Emery
8c6deea5b9
Merge branch 'mintsoft/date_role' of github.com:duckduckgo/zeroclickinfo-goodies into mintsoft/date_role
2014-08-18 20:38:16 +01:00
Rob Emery
6784b151ba
CalendarToday: Fixing highlighting for today
2014-08-18 20:37:45 +01:00