GithubHelp home page GithubHelp logo

secretsanta's Introduction

Secret Santa

Check it live on arcanis.github.io/secretsanta/.

License (MIT)

Copyright © 2015 Maël Nison

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

secretsanta's People

Contributors

arcanis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

secretsanta's Issues

Exclusions without including info in ()

I use the () to include a link to a person's preferences for the Secret Santa. It gets a little bit cumbersome to add the link when you're dealing with exclusions, and cuts down on readability for the purposes of error checking.

What I'd expect is for this to exclude Dave:
Jon (Some Info Here) !Dave
Dave (Some Info Here)
Paul (Some Info here)

Right now it has to be
Jon (Some Info Here) !Dave (Some Info Here)

Admin Master Pairings List

Is there a way to export a master pairings csv file to keep a record of all the secret santa assignments?

Amazon references

Greetings arcanis, in review of the Javascript in index.html there are multiple references to Amazon but it's unclear what it is being used for since the rendering doesn't address it. Are these simply stubs for some future feature or something else?

Please advise.

Missing responsive design

I would like to add some responsiveness, probably using Bootstrap.

As this would be my first contribution: Would it be apreciated?
Thanks, Andreas

Error with multiple conditions

Hello Maël

I was trying to run your script with multiple conditions like excluding to member to be paried and force one member to bi paires with antoter:

Sophie (Niederholz) !Ismael (Gotthard)
Ismael (Gotthard) !Sophie (Niederholz)
Ismael (Gotthard) =Däddi (Geisswägi)
Däddi (Geisswägi)
Cello (Hörnliallee)
Toni (Breitenbach)
Sabine (Basel)

Pressing on "Generate your pairings" The script does not do anything? Is there anythin wron in the sytay of my list or somethin in your script?

Thanks for little Answer

Ismael

.

.

Multiple Name Elimination

I love this by the way! Worked perfectly last year and it's so simple.

The issue I'm running into is having a name with more than 3 names as being unable to pair with. Ex: Joe can't pair with Schmo, Schmoo, Susie, etc...
Could I get an example of how it should be typed in the generator to ensure I'm doing it properly?

Ability to add more info or additional notes

I have already built a form to get the people that are participating to submit info about themselves to "help" their Santa. Things like: Favorite books/hobbies, allergies, clothing sizes, etc. Right now I can put all of that inside the parenthesis so that it will be delivered to the Santa but there is no way to format it. The ability to add line breaks in the notes (/n) would solve this, or to add multiple notes per participant. Would this be a difficult addition?

Example:
Almus (Address: 123 Noname Dr, Somplace CA, 98111)(Favorite books: Neromancer)(Alergies: None) !Joe

Appreciation

Hey, no issue here, I'd just like to show some appreciation for this tool. Thank you for keeping it simple and easy. Secret santa is always a pain, and this year I was responsible for it. In 5 minutes, it was done. Thank you very much. I wish you happy holidays.

Link preview spoils names on iOS

Hi,

Great website!

I just tried to use it on an iPhone and I couldn't find a way to use it without getting spoiled because when I try and select the links, a preview opens and shows the name of the person that will receive the gifts.

A solution would be to add buttons to copy the link next to them:
Name / URL / "Copy" button

Log links break in Outlook email

When Copy/Pasting the link to individual Santa emails, Outlook breaks the link into two lines which the recipient will not see their target. I can use a TinyURL but was wondering if there is a feature to automatically do that.

Example:
Unbroken link:
http://arcanis.github.io/secretsanta/pairing.html?name=Pat&key=52289&pairing=U2FsdGVkX1%2BaTaWTYv155oRr87otIB2nmhKbCJ2pTq8%3D

Outlook broken link:
http://arcanis.github.io/secretsanta/pairing.html?name=Pat&key=52289&pairing
=U2FsdGVkX1%2BaTaWTYv155oRr87otIB2nmhKbCJ2pTq8%3D

Feature?
https://tinyurl.com/arcanisSantaPat

Generate button not working

Was working a few weeks ago. Today, it doesn't generate any links! I have tried different browsers and clearing my cache.

Wish Lists

Would be nice if we could add wish list links, currently links with special charters like question marks cause issues.

Subscription Form

Hi Maël
You realy did a great job with this script i will youse it this year for my secret santas! Due to COVID-19 i think it would be a great enhacment to ad a subscription form where the participiants can add themselves to participate and give their adress to where the gift should be sent. The Admin could distribute the link to that subscription Form and then at day x run the script tu have the participiants shuffeld... This would be the automatic version another one would be to store the subscriptions in a csv file wich could be inserted in the generate form os your script.

I Think following form fields would be enough
Name
Adress (Street, Nbr. Zip Code, City)
e-Mail Adress
Message to his secret Santa

Would be great to hear from you, salutations et a bientôt take care!
Ismael

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.