major updates to security and hacking logick

This commit is contained in:
2013-01-13 12:21:30 +01:00
parent b02951aaec
commit f08d19a50b
19 changed files with 379 additions and 296 deletions
+2 -113
View File
@@ -31,7 +31,9 @@ en:
no_records: There are no items present
messages:
cannot_order_on_non_active_list: You cannot place an order on a closed list
no_active_list: There is no active list
order_is_placed: Your order has been received in good order
new_list_created: A new ${models.list} has been created
the_list_has_been_closed: The list has been closed
illegal_history_list_attempt: The list you want to access is not yours
table_not_found: The requested table cannot be found or is not given
@@ -62,119 +64,6 @@ en:
table:
is_occupied: This table is occupied
has_no_section: "Not placed"
activemodel:
models:
user: User
supplier: Restaurant
table: Table
list: List
product: Product
order: Order
product_category: Product category
section: Section
plural:
user: Users
supplier: Restaurants
table: Tables
list: Lists
product: Products
order: Orders
product_category: Product categories
section: Sections
attributes:
product:
price: Price
list:
created_at: Created
state: Status
needs_help: Needs attention
needs_payment: Wants to pay
closed_at: Closed at
supplier:
messages:
could_not_arrange_tables: 'The tables could not be arranged'
could_not_arrange_tables_distributed: 'The tables could not be arranged. Does the ${models.section|downcase} have a width and a height?'
could_not_arrange_tables_by_row: 'The tables could not be arranged. Does the ${models.section|downcase} have a width and a height?'
could_not_arrange_tables_by_column: 'The tables could not be arranged. Does the ${models.section|downcase} have a width and a height?'
menu:
active_lists: Active lists
active_lists:
title: Active list
price: Price
active_orders:
title: Active %{orders}
price: Price
close: Close the shop
you_are_currently_closed_alert: 'You are currently closed and not able to take orders'
mark_as_open_button: 'Open up the place!'
table_number: Table
tables:
qr_codes:
link: Qr codes sheet
lists:
show:
title: Show %{list}
section:
first_section_title: Room
show:
title: 'Show ${models.section|downcase}'
manage_tables:
link: 'Manage tables'
title: "Manage tables for ${models.section|downcase}: %{title}"
tables_view:
link: 'Tables view'
add_tables:
button_label: Add tables
modal:
title: Add tables
body_header: ""
number_start: From number
number_end: Till number
close_button: Close
add_button: Add
arrange_tables:
button_label: Arrange tables
by_row_no_row_count: 'Please fill in a positive number representing the number of ${models.plural.table|downcase} per row'
by_column_no_column_count: 'Please fill in a positive number representing the number of ${models.plural.table|downcase} per column'
modal:
title: Arrange tables
body_header: ""
distributed: Distributed
by_row: By row
by_row_count: of
by_column: By column
by_column_count: of
close_button: Close
arrange_button: Distribute
user:
active_list:
title: Active list
needs_payment: Check please!
history_list:
title: Closed list
list_history:
title: Closed lists
show_products:
# The title gets products: Product.model_name.human_plural that can be used: e.g.: Showing %{products}
title: Menu
join_occupied_table:
title: This table is occupied
join_this_table: Join this table
show_the_products: Show me the menu
back: Back
home:
scan_qr: Scan qr code
show_active_list: Show my orders
show_active_list_products: Go to the menu
basket:
total: Total
product_category:
other_name: Overig
obtain_token:
title: Authenticate Qwaiter
obtain: Authenticate
invalid_combination: The email password combination is incorrect
general:
boolean:
boolean_yes: "Yes"
+34
View File
@@ -0,0 +1,34 @@
activemodel:
models:
user: User
supplier: Restaurant
table: Table
list: List
product: Product
order: Order
product_category: Product category
section: Section
plural:
user: Users
supplier: Restaurants
table: Tables
list: Lists
product: Products
order: Orders
product_category: Product categories
section: Sections
attributes:
product:
price: Price
list:
created_at: Created
state: Status
needs_help: Needs attention
needs_payment: Wants to pay
closed_at: Closed at
supplier:
name: Name
email: 'Email'
password: 'Password'
password_confirmation: 'Confirmation'
iens_profile: Iens profile id
+40
View File
@@ -0,0 +1,40 @@
nl:
activemodel:
models:
user: Gebruiker
supplier: Restaurant
table: Tafel
list: Lijst
product: Product
order: Bestelling
product_category: Product categorie
section: Afdeling
plural:
user: Gebruikers
supplier: Restaurants
table: Tafels
list: Lijsten
product: Producten
order: Bestellingen
product_category: Product categorieen
section: Afdelingen
attributes:
product:
price: Prijs
list:
created_at: Aangemaakt
state: Status
needs_help: Vraag actief
needs_payment: Rekening gevraagd
closed_at: Afgesloten op
price: Prijs
section:
title: Titel
width: Breedte
height: Lengte
supplier:
name: Naam
email: 'E-mail'
password: 'Wachtwoord'
password_confirmation: 'Bevestiging'
iens_profile: Iens profiel id
+3 -124
View File
@@ -21,7 +21,7 @@ nl:
cancel: Terug
forms:
errors:
title: Er zijn een problemen opgetreden (%{count})
title: 'De actie kon niet worden uitgevoerd. %{count} fout(en)'
submit:
create: '%{model} toevoegen'
update: '%{model} bewaren'
@@ -30,7 +30,9 @@ nl:
no_records: Er zijn geen items aanwezig
messages:
cannot_order_on_non_active_list: Je kan niet bestellen op een gesloten lijst
no_active_list: Er is momenteel geen lijst actief
order_is_placed: Je bestelling is in goede orde aangekomen
new_list_created: Een nieuwe ${models.list} is aangemaakt
the_list_has_been_closed: De lijst is afgesloten
illegal_history_list_attempt: Je probeert een lijst op te vragen die niet van jou is
table_not_found: De gezochte tafel kan niet worden gevonden of is niet opgegeven
@@ -61,129 +63,6 @@ nl:
table:
is_occupied: Deze tafel is bezet
has_no_section: "Niet geplaatst"
activemodel:
models:
user: Gebruiker
supplier: Restaurant
table: Tafel
list: Lijst
product: Product
order: Bestelling
product_category: Product categorie
section: Afdeling
plural:
user: Gebruikers
supplier: Restaurants
table: Tafels
list: Lijsten
product: Producten
order: Bestellingen
product_category: Product categorieen
section: Afdelingen
attributes:
product:
price: Prijs
list:
created_at: Aangemaakt
state: Status
needs_help: Vraag actief
needs_payment: Rekening gevraagd
closed_at: Afgesloten op
price: Prijs
section:
title: Titel
width: Breedte
height: Lengte
supplier:
name: Naam
email: 'E-mail'
password: 'Wachtwoord'
password_confirmation: 'Bevestiging'
supplier:
messages:
could_not_arrange_tables: 'De ${models.plural.table} konden niet worden gepositioneerd'
could_not_arrange_tables_distributed: 'De ${models.plural.table} konden niet worden gepositioneerd. Heeft de ${models.section|downcase} een hoogte en breedte?'
could_not_arrange_tables_by_row: 'De ${models.plural.table} konden niet worden gepositioneerd. Heeft de ${models.section|downcase} een hoogte en breedte?'
could_not_arrange_tables_by_column: 'De ${models.plural.table} konden niet worden gepositioneerd. Heeft de ${models.section|downcase} een hoogte en breedte?'
menu:
active_lists: Actieve %{lists}
active_lists:
title: Actieve %{lists}
price: Prijs
active_orders:
title: Actieve %{orders}
price: Prijs
close: De zaak afsluiten voor bestellingen
you_are_currently_closed_alert: 'Je bent momenteel gesloten en kan geen orders ontvangen'
mark_as_open_button: 'Open de zaak!'
table_number: Tafel
tables:
qr_codes:
link: Qr codes
lists:
show:
title: "%{list} tonen"
section:
first_section_title: Ruimte
show:
title: 'Toon ${models.section|downcase}'
manage_tables:
link: 'Tafels beheren'
title: "Tafels beheren voor ${models.section|downcase}: %{title}"
tables_view:
link: Tafel overzicht
add_tables:
button_label: Voeg tafels toe
modal:
title: Voeg tafels toe
body_header: ""
number_start: Vanaf nummer
number_end: Tot nummer
close_button: Sluiten
add_button: Voeg toe
arrange_tables:
button_label: Positioneer tafels
by_row_no_row_count: 'Geef een positief getal voor het aantal ${models.plural.table|downcase} per rij'
by_column_no_column_count: 'Geef een positief getal voor het aantal ${models.plural.table|downcase} per kolom'
modal:
title: Positioneer tafels
body_header: ""
distributed: Verspreid
by_row: Per rij
by_row_count: van
by_column: Per kolom
by_column_count: van
close_button: Sluiten
arrange_button: Positioneer
user:
active_list:
title: Actieve lijst
needs_payment: Rekening vragen!
history_list:
title: Afgesloten lijst
list_history:
title: Afgesloten lijsten
show_products:
# The title gets products: Product.model_name.human_plural that can be used: e.g.: Showing %{products}
title: Menu
join_occupied_table:
title: Deze tafel is bezet
join_this_table: Ik wil ook bestellen bij deze tafel
show_the_products: Laat me het menu zien
back: Terug
home:
scan_qr: Scan qr code
show_active_list: Toon mijn bestellingen
show_active_list_products: Ga naar het menu
basket:
total: Totaal
product_category:
other_name: Overig
obtain_token:
title: Aanmelden bij Qwaiter
obtain: Aanmelden
invalid_combination: De inloggegevens zijn onjuist
general:
boolean:
boolean_yes: "Ja"
+61
View File
@@ -0,0 +1,61 @@
en:
supplier:
messages:
could_not_arrange_tables: 'The tables could not be arranged'
could_not_arrange_tables_distributed: 'The tables could not be arranged. Does the ${models.section|downcase} have a width and a height?'
could_not_arrange_tables_by_row: 'The tables could not be arranged. Does the ${models.section|downcase} have a width and a height?'
could_not_arrange_tables_by_column: 'The tables could not be arranged. Does the ${models.section|downcase} have a width and a height?'
menu:
active_lists: Active lists
active_lists:
title: Active list
price: Price
active_orders:
title: Active %{orders}
price: Price
close: Close the shop
you_are_currently_closed_alert: 'You are currently closed and not able to take orders'
mark_as_open_button: 'Open up the place!'
table_number: Table
tables:
qr_codes:
link: Qr codes sheet
lists:
show:
title: Show %{list}
section:
first_section_title: Room
show:
title: 'Show ${models.section|downcase}'
manage_tables:
link: 'Manage tables'
title: "Manage tables for ${models.section|downcase}: %{title}"
tables_view:
link: 'Tables view'
add_tables:
button_label: Add tables
modal:
title: Add tables
body_header: ""
number_start: From number
number_end: Till number
close_button: Close
add_button: Add
arrange_tables:
button_label: Arrange tables
by_row_no_row_count: 'Please fill in a positive number representing the number of ${models.plural.table|downcase} per row'
by_column_no_column_count: 'Please fill in a positive number representing the number of ${models.plural.table|downcase} per column'
modal:
title: Arrange tables
body_header: ""
distributed: Distributed
by_row: By row
by_row_count: of
by_column: By column
by_column_count: of
close_button: Close
arrange_button: Distribute
settings:
reviews:
title: Reviews
explanation: Fill in your Iens id. You can find this id in the web location of your profile
+61
View File
@@ -0,0 +1,61 @@
nl:
supplier:
messages:
could_not_arrange_tables: 'De ${models.plural.table} konden niet worden gepositioneerd'
could_not_arrange_tables_distributed: 'De ${models.plural.table} konden niet worden gepositioneerd. Heeft de ${models.section|downcase} een hoogte en breedte?'
could_not_arrange_tables_by_row: 'De ${models.plural.table} konden niet worden gepositioneerd. Heeft de ${models.section|downcase} een hoogte en breedte?'
could_not_arrange_tables_by_column: 'De ${models.plural.table} konden niet worden gepositioneerd. Heeft de ${models.section|downcase} een hoogte en breedte?'
menu:
active_lists: Actieve %{lists}
active_lists:
title: Actieve %{lists}
price: Prijs
active_orders:
title: Actieve %{orders}
price: Prijs
close: De zaak afsluiten voor bestellingen
you_are_currently_closed_alert: 'Je bent momenteel gesloten en kan geen orders ontvangen'
mark_as_open_button: 'Open de zaak!'
table_number: Tafel
tables:
qr_codes:
link: Qr codes
lists:
show:
title: "%{list} tonen"
section:
first_section_title: Ruimte
show:
title: 'Toon ${models.section|downcase}'
manage_tables:
link: 'Tafels beheren'
title: "Tafels beheren voor ${models.section|downcase}: %{title}"
tables_view:
link: Tafel overzicht
add_tables:
button_label: Voeg tafels toe
modal:
title: Voeg tafels toe
body_header: ""
number_start: Vanaf nummer
number_end: Tot nummer
close_button: Sluiten
add_button: Voeg toe
arrange_tables:
button_label: Positioneer tafels
by_row_no_row_count: 'Geef een positief getal voor het aantal ${models.plural.table|downcase} per rij'
by_column_no_column_count: 'Geef een positief getal voor het aantal ${models.plural.table|downcase} per kolom'
modal:
title: Positioneer tafels
body_header: ""
distributed: Verspreid
by_row: Per rij
by_row_count: van
by_column: Per kolom
by_column_count: van
close_button: Sluiten
arrange_button: Positioneer
settings:
reviews:
title: Reviews
explanation: Vul hier je iens id in. Deze kan je halen uit de url van je iens profiel
+29
View File
@@ -0,0 +1,29 @@
en:
user:
active_list:
title: Active list
needs_payment: Check please!
history_list:
title: Closed list
list_history:
title: Closed lists
show_products:
# The title gets products: Product.model_name.human_plural that can be used: e.g.: Showing %{products}
title: Menu
join_occupied_table:
title: This table is occupied
join_this_table: Join this table
show_the_products: Show me the menu
back: Back
home:
scan_qr: Scan qr code
show_active_list: Show my orders
show_active_list_products: Go to the menu
basket:
total: Total
product_category:
other_name: Overig
obtain_token:
title: Authenticate Qwaiter
obtain: Authenticate
invalid_combination: The email password combination is incorrect
+29
View File
@@ -0,0 +1,29 @@
nl:
user:
active_list:
title: Actieve lijst
needs_payment: Rekening vragen!
history_list:
title: Afgesloten lijst
list_history:
title: Afgesloten lijsten
show_products:
# The title gets products: Product.model_name.human_plural that can be used: e.g.: Showing %{products}
title: Menu
join_occupied_table:
title: Deze tafel is bezet
join_this_table: Ik wil ook bestellen bij deze tafel
show_the_products: Laat me het menu zien
back: Terug
home:
scan_qr: Scan qr code
show_active_list: Toon mijn bestellingen
show_active_list_products: Ga naar het menu
basket:
total: Totaal
product_category:
other_name: Overig
obtain_token:
title: Aanmelden bij Qwaiter
obtain: Aanmelden
invalid_combination: De inloggegevens zijn onjuist