specs:
aasm (5.5.0)
concurrent-ruby (~> 1.0)
- actioncable (7.0.7)
- actionpack (= 7.0.7)
- activesupport (= 7.0.7)
+ actioncable (7.0.7.2)
+ actionpack (= 7.0.7.2)
+ activesupport (= 7.0.7.2)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
- actionmailbox (7.0.7)
- actionpack (= 7.0.7)
- activejob (= 7.0.7)
- activerecord (= 7.0.7)
- activestorage (= 7.0.7)
- activesupport (= 7.0.7)
+ actionmailbox (7.0.7.2)
+ actionpack (= 7.0.7.2)
+ activejob (= 7.0.7.2)
+ activerecord (= 7.0.7.2)
+ activestorage (= 7.0.7.2)
+ activesupport (= 7.0.7.2)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
- actionmailer (7.0.7)
- actionpack (= 7.0.7)
- actionview (= 7.0.7)
- activejob (= 7.0.7)
- activesupport (= 7.0.7)
+ actionmailer (7.0.7.2)
+ actionpack (= 7.0.7.2)
+ actionview (= 7.0.7.2)
+ activejob (= 7.0.7.2)
+ activesupport (= 7.0.7.2)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.0)
- actionpack (7.0.7)
- actionview (= 7.0.7)
- activesupport (= 7.0.7)
+ actionpack (7.0.7.2)
+ actionview (= 7.0.7.2)
+ activesupport (= 7.0.7.2)
rack (~> 2.0, >= 2.2.4)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionpack-page_caching (1.2.4)
actionpack (>= 4.0.0)
- actiontext (7.0.7)
- actionpack (= 7.0.7)
- activerecord (= 7.0.7)
- activestorage (= 7.0.7)
- activesupport (= 7.0.7)
+ actiontext (7.0.7.2)
+ actionpack (= 7.0.7.2)
+ activerecord (= 7.0.7.2)
+ activestorage (= 7.0.7.2)
+ activesupport (= 7.0.7.2)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
- actionview (7.0.7)
- activesupport (= 7.0.7)
+ actionview (7.0.7.2)
+ activesupport (= 7.0.7.2)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
active_record_union (1.3.0)
activerecord (>= 4.0)
- activejob (7.0.7)
- activesupport (= 7.0.7)
+ activejob (7.0.7.2)
+ activesupport (= 7.0.7.2)
globalid (>= 0.3.6)
- activemodel (7.0.7)
- activesupport (= 7.0.7)
- activerecord (7.0.7)
- activemodel (= 7.0.7)
- activesupport (= 7.0.7)
- activerecord-import (1.4.1)
+ activemodel (7.0.7.2)
+ activesupport (= 7.0.7.2)
+ activerecord (7.0.7.2)
+ activemodel (= 7.0.7.2)
+ activesupport (= 7.0.7.2)
+ activerecord-import (1.5.0)
activerecord (>= 4.2)
- activestorage (7.0.7)
- actionpack (= 7.0.7)
- activejob (= 7.0.7)
- activerecord (= 7.0.7)
- activesupport (= 7.0.7)
+ activestorage (7.0.7.2)
+ actionpack (= 7.0.7.2)
+ activejob (= 7.0.7.2)
+ activerecord (= 7.0.7.2)
+ activesupport (= 7.0.7.2)
marcel (~> 1.0)
mini_mime (>= 1.1.0)
- activesupport (7.0.7)
+ activesupport (7.0.7.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
autoprefixer-rails (10.4.13.0)
execjs (~> 2)
aws-eventstream (1.2.0)
- aws-partitions (1.804.0)
- aws-sdk-core (3.180.3)
+ aws-partitions (1.809.0)
+ aws-sdk-core (3.181.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.5)
aws-sdk-kms (1.71.0)
aws-sdk-core (~> 3, >= 3.177.0)
aws-sigv4 (~> 1.1)
- aws-sdk-s3 (1.132.1)
- aws-sdk-core (~> 3, >= 3.179.0)
+ aws-sdk-s3 (1.133.0)
+ aws-sdk-core (~> 3, >= 3.181.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.6)
aws-sigv4 (1.6.0)
rack-test (2.1.0)
rack (>= 1.3)
rack-uri_sanitizer (0.0.2)
- rails (7.0.7)
- actioncable (= 7.0.7)
- actionmailbox (= 7.0.7)
- actionmailer (= 7.0.7)
- actionpack (= 7.0.7)
- actiontext (= 7.0.7)
- actionview (= 7.0.7)
- activejob (= 7.0.7)
- activemodel (= 7.0.7)
- activerecord (= 7.0.7)
- activestorage (= 7.0.7)
- activesupport (= 7.0.7)
+ rails (7.0.7.2)
+ actioncable (= 7.0.7.2)
+ actionmailbox (= 7.0.7.2)
+ actionmailer (= 7.0.7.2)
+ actionpack (= 7.0.7.2)
+ actiontext (= 7.0.7.2)
+ actionview (= 7.0.7.2)
+ activejob (= 7.0.7.2)
+ activemodel (= 7.0.7.2)
+ activerecord (= 7.0.7.2)
+ activestorage (= 7.0.7.2)
+ activesupport (= 7.0.7.2)
bundler (>= 1.15.0)
- railties (= 7.0.7)
+ railties (= 7.0.7.2)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1)
rails-i18n (7.0.8)
i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 8)
- railties (7.0.7)
- actionpack (= 7.0.7)
- activesupport (= 7.0.7)
+ railties (7.0.7.2)
+ actionpack (= 7.0.7.2)
+ activesupport (= 7.0.7.2)
method_source
rake (>= 12.2)
thor (~> 1.0)
rinku (2.0.6)
rotp (6.2.2)
rouge (4.1.3)
- rubocop (1.56.0)
+ rubocop (1.56.1)
base64 (~> 0.1.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
raise OSM::APIBadUserInput, "No users were given to search for" if ids.empty?
- @users = User.visible.find(ids)
+ @users = User.visible.where(:id => ids).in_order_of(:id, ids)
# Render the result
respond_to do |format|
xml.instruct! :xml, :version => "1.0"
xml.osm(OSM::API.new.xml_root_attributes) do |osm|
- osm << render(@users)
+ osm << (render(@users) || "")
end
csp_policy[:report_uri] << Settings.csp_report_url if Settings.key?(:csp_report_url)
cookie_policy = {
- :httponly => { :only => ["_osm_session"] }
+ :httponly => { :only => %w[_osm_session _osm_totp_token] }
}
SecureHeaders::Configuration.default do |config|
facebook:
title: Meld aan met Facebook
alt: Meld aan met ’n Facebook-rekening
- windowslive:
+ microsoft:
title: Meld aan met Windows Live
alt: Meld aan met ’n Windows Live-rekening
github:
openid: هوية مفتوحة
google: جوجل
facebook: فيسبوك
- windowslive: مايكروسوفت
+ microsoft: مايكروسوفت
github: جيت هب
wikipedia: ويكيبيديا
api:
facebook:
title: تسجيل الدخول باستخدام فيس بوك
alt: تسجيل الدخول بحساب فيسبوك
- windowslive:
+ microsoft:
title: تسجيل الدخول مع مايكروسوفت
alt: تسجيل الدخول بحساب مايكروسوفت
github:
facebook:
title: Anicia sesión con Facebook
alt: Anicia sesión con una cuenta de Facebook
- windowslive:
+ microsoft:
title: Anicia sesión con Windows Live
alt: Anicia sesión con una cuenta de Windows Live
github:
openid: OpenID
google: Google
facebook: Facebook
- windowslive: Майкрософт
+ microsoft: Майкрософт
github: GitHub
wikipedia: Википедия
api:
facebook:
title: Увайсці праз Facebook
alt: Увайсці праз уліковы запіс Facebook
- windowslive:
+ microsoft:
title: Увайсці праз Windows live
alt: Увайсці праз уліковы запіс Windows Live
github:
openid: OpenID
google: Google
facebook: Facebook
- windowslive: Майкрософт
+ microsoft: Майкрософт
github: GitHub
wikipedia: Уикипедия
api:
facebook:
title: Влизане с Facebook
alt: Влизане със сметка на Facebook
- windowslive:
+ microsoft:
title: Влизане с Майкрософт
alt: Влизане със сметка на Майкрософт
github:
openid: ওপেনআইডি
google: গুগল
facebook: ফেসবুক
- windowslive: মাইক্রোসফট
+ microsoft: মাইক্রোসফট
github: গিটহাব
wikipedia: উইকিপিডিয়া
api:
facebook:
title: ফেসবুক দিয়ে প্রবেশ
alt: ফেসবুক অ্যাকাউন্ট দিয়ে প্রবেশ করুন
- windowslive:
+ microsoft:
title: মাইক্রোসফট দিয়ে লগইন করুন
alt: একটি মাইক্রোসফট অ্যাকাউন্ট দিয়ে লগইন করুন
github:
facebook:
title: Kevreañ ouzh Facebook
alt: Kevreañ ouzh ur gont facebook
- windowslive:
+ microsoft:
title: Kevreañ ouzh Microsoft
alt: Kevreañ ouzh ur gont Microsoft
github:
facebook:
title: Inicieu la sessió amb Facebook
alt: Inicieu la sessió amb un compte de Facebook
- windowslive:
+ microsoft:
title: Inicieu la sessió amb Windows
alt: Inicieu de sessió amb un compte de Windows
github:
facebook:
title: Přihlásit se přes Facebook
alt: Přihlášení pomocí účtu na Facebooku
- windowslive:
+ microsoft:
title: Přihlásit se přes Microsoft
alt: Přihlášení pomocí účtu Microsoft
github:
facebook:
title: Mewngofnodi â Facebook
alt: Mewngofnodi â Chyfrif Facebook
- windowslive:
+ microsoft:
title: Mewngofnodi gyda Microsoft
alt: Mewngofnodi gyda Chyfrif Microsoft
github:
facebook:
title: Log på med Facebook
alt: Log på med en Facebook-konto
- windowslive:
+ microsoft:
title: Log på med Windows Live
alt: Log på med en Windows Live-konto
github:
facebook:
title: Mit Facebook anmelden
alt: Mit einem Facebook-Konto anmelden
- windowslive:
+ microsoft:
title: Mit Microsoft anmelden
alt: Mit einem Microsoft-Konto anmelden
github:
facebook:
title: Σύνδεση με το Facebook
alt: Σύνδεση με έναν Λογαριασμό Facebook
- windowslive:
+ microsoft:
title: Σύνδεση μέσω της Microsoft
alt: Σύνδεση με ένα Λογαριασμό Microsoft
github:
facebook:
title: Login with Facebook
alt: Login with a Facebook Account
- windowslive:
+ microsoft:
title: Login with Windows Live
alt: Login with a Windows Live Account
github:
openid: OpenID
google: Google
facebook: Facebook
+ microsoft: Microsoft
github: GitHub
wikipedia: Vikipedio
api:
no home location: Vi ne enigis vian hejmlokon.
update home location on click: Ĉu freŝigi la hejmlokon kiam mi alklakas sur
la mapo?
+ show: Montri
+ delete: Forigi
+ undelete: Malforigi
update:
success: Aktualigis profilon.
failure: Ne povis aktualigi la profilon.
facebook:
title: Ensaluti per Fejsbuko
alt: Ensaluti per konto je Fejsbuko
- windowslive:
+ microsoft:
title: Ensaluti per Microsoft
alt: Ensaluti per konto Microsoft
github:
index:
title: Rimarkoj kreitaj aŭ komentitaj de %{user}
heading: Rimarkoj de %{user}
- subheading_html: Rimarkoj kreitaj aŭ komentitaj de %{user}
+ subheading_html: Rimarkoj %{submitted} aŭ %{commented} de %{user}
+ subheading_submitted: kreitaj
+ subheading_commented: komentitaj
no_notes: Neniu rimarko
id: Identigilo
creator: Aŭtoro
# Author: Nancystodd
# Author: Nelthal
# Author: Nemo bis
+# Author: No se
# Author: Nunte
# Author: Ovruni
# Author: Pantareje
openid: OpenID
google: Google
facebook: Facebook
- windowslive: Microsoft
+ microsoft: Microsoft
github: GitHub
wikipedia: Wikipedia
api:
login: Iniciar sesión
no_such_entry:
title: No existe esta entrada de diario
- heading: No hay ninguna entrada con el identificador %{id}
+ heading: No hay ninguna entrada con el identificador "%{id}"
body: No hay alguna entrada de diario o comentario con el identificador %{id}.
Revisa la ortografía, o tal vez el enlace en el que hiciste clic es incorrecto.
diary_entry:
facebook:
title: Iniciar sesión con Facebook
alt: Iniciar sesión con una cuenta de Facebook
- windowslive:
+ microsoft:
title: Iniciar sesión con Microsoft
alt: Iniciar sesión con una cuenta Microsoft
github:
facebook:
title: Logi sisse Facebooki kaudu
alt: Logi sisse Facebooki kontoga
- windowslive:
+ microsoft:
title: Logi sisse Windows Live'i kaudu
alt: Logi sisse Windows Live'i kontoga
github:
facebook:
title: Saioa hasi Facebookekin
alt: Saioa hasi Facebookekin
- windowslive:
+ microsoft:
title: Saioa hasi Windows Livekin
alt: Windows Live kontu batekin saioa hasi
github:
openid: OpenID
google: گوگل
facebook: فیسبوک
- windowslive: مایکروسافت
+ microsoft: مایکروسافت
github: گیتهاب
wikipedia: ویکیپدیا
api:
facebook:
title: ورود با فیسبوک
alt: ورود با حساب فیسبوک
- windowslive:
+ microsoft:
title: ورود با مایکروسافت
alt: ورود با حساب مایکروسافت
github:
financial: Rahoitusalan toimisto
government: Virasto
insurance: Vakuutusyhtiö
- it: IT toimisto
+ it: IT-toimisto
lawyer: Asianajotoimisto
logistics: Logistiikkatoimisto
newspaper: Sanomalehtitoimisto
facebook:
title: Kirjaudu Facebookin avulla
alt: Kirjaudu käyttämällä Facebook-tunnustasi
- windowslive:
+ microsoft:
title: Kirjaudu Microsoft-tilin avulla
alt: Kirjaudu sisään Microsoft-tililläsi
github:
# Author: JenyxGym
# Author: Jiremek
# Author: Jlrb+
+# Author: Koreller
# Author: Linedwell
# Author: Litlok
# Author: Ljubinka
# Author: Ltrlg
# Author: Lucky
+# Author: Lulucmy
# Author: Macofe
# Author: Manaviko
# Author: Mathieu
openid: OpenID
google: Google
facebook: Facebook
+ microsoft: Microsoft
github: GitHub
wikipedia: Wikipédia
api:
notes:
comment:
- opened_at_html: Créé le %{when}
+ opened_at_html: Créé %{when}
opened_at_by_html: Créée %{when} par %{user}
commented_at_html: Mis à jour le %{when}
commented_at_by_html: Mis à jour le %{when} par %{user}
show:
title: Supprimer mon compte
warning: Avertissement ! Le processus de suppression de compte est définitif
- et ne pourra pas être annulé.
+ et ne peut pas être annulé.
delete_account: Supprimer un compte
delete_introduction: 'Vous pouvez supprimer votre compte OpenStreetMap en
utilisant le bouton ci-dessous. Veuillez prendre note des détails suivants :'
- delete_profile: Vos informations de profil, y compris votre avatar, votre
- description et votre emplacement de domicile seront retirés.
+ delete_profile: Les informations de votre profil, y compris votre avatar,
+ votre description et votre lieu de résidence seront supprimées.
delete_display_name: Votre nom affiché sera supprimé et pourra être réutilisé
pour d’autres comptes.
retain_caveats: 'Cependant, quelques informations vous concernant seront conservées
external auth: Authentification externe
openid:
link: https://wiki.openstreetmap.org/wiki/FR:OpenID
- link text: qu’est-ce que ceci ?
+ link text: qu’est-ce que cela ?
public editing:
heading: Modification publique
enabled: Activée. Non anonyme et peut modifier les données.
link: https://wiki.osmfoundation.org/wiki/Licence/Contributor_Terms/FR
link text: qu’est-ce que ceci ?
save changes button: Enregistrer les modifications
- delete_account: Suppression du compte...
+ delete_account: Supprimer le compte...
go_public:
heading: Modification publique
currently_not_public: Actuellement, vos modifications sont anonymes et les utilisateurs
facebook:
title: Connexion avec Facebook
alt: Se connecter avec un compte de Facebook
- windowslive:
+ microsoft:
title: Connexion avec Microsoft
alt: Se connecter avec un compte Microsoft
github:
index:
title: Notes soumises ou commentées par « %{user} »
heading: Notes de « %{user} »
- subheading_html: Notes soumises ou commentées par « %{user} »
+ subheading_html: Notes %{submitted} ou %{commented} par %{user}
+ subheading_submitted: soumis
+ subheading_commented: commenté
no_notes: Aucune note
id: Identifiant
creator: Créateur
facebook:
title: Jentre cun Facebook
alt: Jentre cuntun un cont Facebook
- windowslive:
+ microsoft:
title: Jentre cun Windows Live
alt: Jentre cuntun cont di Windows Live
github:
facebook:
title: Oanmelde mei Facebook
alt: Meld jo oan mei in Facebook-akkount
- windowslive:
+ microsoft:
title: Oanmelde mei Windows Live
alt: Meld jo oan mei in Windows Live-akkount
github:
facebook:
title: Logáil isteach le Facebook
alt: Logáil isteach le Cuntas Facebook
- windowslive:
+ microsoft:
title: Logáil isteach le Windows Live
alt: Logáil isteach le Cuntas Windows Live
github:
facebook:
title: Clàraich a-steach le Facebook
alt: Clàraich a-steach le cunntas Facebook
- windowslive:
+ microsoft:
title: Clàraich a-steach le Windows Live
alt: Clàraich a-steach le cunntas Windows Live
github:
openid: OpenID
google: Google
facebook: Facebook
+ microsoft: Microsoft
github: GitHub
wikipedia: Wikipedia
api:
no home location: Non inseriches o teu lugar de orixe.
update home location on click: Desexas actualizar a túa localización ó premer
sobre o mapa?
+ show: Amosar
+ delete: Borrar
+ undelete: Desfacer o borrado
update:
success: Perfil actualizado.
failure: Non foi posíbel actualizar o perfil.
facebook:
title: Iniciar a sesión co Facebook
alt: Iniciar a sesión cunha conta do Facebook
- windowslive:
+ microsoft:
title: Iniciar a sesión con Microsoft
alt: Iniciar a sesión cunha conta de Microsoft
github:
index:
title: Notas enviadas ou comentadas por %{user}
heading: Notas de %{user}
- subheading_html: Notas enviadas ou comentadas por %{user}
+ subheading_html: Notas %{submitted} ou %{commented} por %{user}
+ subheading_submitted: enviadas
+ subheading_commented: comentadas
no_notes: Sen notas
id: ID
creator: Creador
prompt: בחירת קובץ
submit:
diary_comment:
- create: הערה
+ create: פרס×\95×\9d ×\94ער×\94
diary_entry:
create: פרסום
update: עדכון
openid: OpenID
google: גוגל
facebook: פייסבוק
- windowslive: מיקרוסופט
+ microsoft: מיקרוסופט
github: גיטהאב
wikipedia: ויקיפדיה
api:
facebook:
title: כניסה עם פייסבוק
alt: כניסה עם חשבון פייסבוק
- windowslive:
+ microsoft:
title: כניסה עם מיקרוסופט
alt: כניסה עם חשבון מיקרוסופט
github:
index:
title: הערות ותגובות של %{user}
heading: הערות של %{user}
- subheading_html: הערות ותגובות של %{user}
+ subheading_html: הערות ש%{submitted} על־ידי %{user} או %{commented} מאת %{user}
+ subheading_submitted: שנשלחו
+ subheading_commented: קיבלו תגובות
no_notes: אין הערות
id: מזהה
creator: יוצר
openid: OpenID
google: गूगल
facebook: फेसबुक
- windowslive: विन्डोज़ लाइव
+ microsoft: विन्डोज़ लाइव
github: गिट्हब
wikipedia: विकिपीडिया
api:
delete image: इस तस्वीर को हटाएं
replace image: इस तस्वीर की जगह दूसरी लगाएं
home location: घर का स्थान
+ show: दिखाएँ
+ delete: हटाएँ
site:
about:
legal_1_1_terms_of_use: उपयोग की शर्तें
facebook:
title: Prijavi se sa Facebook-om
alt: Prijavi se sa računom Facebook-a
- windowslive:
+ microsoft:
title: Prijavi se sa Windows Live-om
alt: Prijavi se sa računom Windows Live-a
github:
facebook:
title: Přizjewjenje z Facebook
alt: Přizjewjenje z facebookowym kontom
- windowslive:
+ microsoft:
title: Přizjewjenje z Windows Live
alt: Přizjewjenje z kontom Windows Live
github:
# Author: Tacsipacsi
# Author: Uno20001
# Author: Urbalazs
+# Author: Zalán Hári
# Author: Zizzerus
---
hu:
facebook:
title: Bejelentkezés Facebook-kal
alt: Bejelentkezés Facebook fiókkal
- windowslive:
+ microsoft:
title: Bejelentkezés Microsofttal.
alt: Bejelentkezés Microsoft fiókkal
github:
szerzői jogi vagy egyéb jogi kérdései vannak.
legal_2_1_contact_the_osmf: lépj kapcsolatba az OSM Alapítvánnyal
legal_2_2_html: Az OpenStreetMap, a nagyító logó és a State of the Map %{registered_trademarks_link}.
- legal_2_2_registered_trademarks: az OSMF bejegyzett védjegye
+ legal_2_2_registered_trademarks: az OSMF bejegyzett védjegyei
partners_title: Partnerek
copyright:
foreign:
openid: OpenID
google: Google
facebook: Facebook
+ microsoft: Microsoft
github: GitHub
wikipedia: Wikipedia
api:
facebook:
title: Aperir session con Facebook
alt: Aperir session con un conto de Facebook
- windowslive:
+ microsoft:
title: Aperir session con Microsoft
alt: Aperir session con un conto Microsoft
github:
index:
title: Notas submittite o commentate per %{user}
heading: Notas de %{user}
- subheading_html: Notas submittite o commentate per %{user}
+ subheading_html: Notas %{submitted} o %{commented} per %{user}
+ subheading_submitted: submittite
+ subheading_commented: commentate
no_notes: Sin notas
id: ID
creator: Creator
facebook:
title: Masuk dengan Facebook
alt: Masuk dengan akun Facebook
- windowslive:
+ microsoft:
title: Masuk dengan Windows Live
alt: Masuk dengan akun Windows Live
github:
home location: Upphafsstaðsetning
no home location: Þú hefur ekki stillt staðsetningu þína.
update home location on click: Uppfæra staðsetninguna þegar ég smelli á kortið
+ show: Birta
+ delete: Eyða
+ undelete: Afturkalla eyðingu
update:
success: Notandasíða uppfært.
failure: Gat ekki uppfært kjörstillingar.
facebook:
title: Skrá inn með Facebook
alt: Skrá inn með Facebook-aðgangi
- windowslive:
+ microsoft:
title: Skrá inn með Microsoft
alt: Skrá inn með Microsoft-aðgangi
github:
facebook:
title: Accedi con Facebook
alt: Accedi con un account Facebook
- windowslive:
+ microsoft:
title: Accedi con Microsoft
alt: Accedi con un account Microsoft
github:
index:
title: Note inserite o commentate da %{user}
heading: Note dell'utente %{user}
- subheading_html: Note inserite o commentate da %{user}
+ subheading_html: Note %{submitted} o %{commented} da %{user}
+ subheading_submitted: inviate
+ subheading_commented: commentate
no_notes: Nessuna nota
id: Identificativo
creator: Autore
openid: OpenID
google: Google
facebook: Facebook
- windowslive: マイクロソフト
+ microsoft: マイクロソフト
github: GitHub
wikipedia: ウィキペディア
api:
browse:
created: 作成
closed: クローズ
- created_ago_html: '%{time_ago} に作成されました'
+ created_ago_html: '%{time_ago} に作成'
closed_ago_html: '%{time_ago}に閉じられました'
- created_ago_by_html: '%{user}ã\81«ã\82\88ã\81£ã\81¦%{time_ago}ã\81«ä½\9cæ\88\90ã\81\95ã\82\8cã\81¾ã\81\97ã\81\9f'
- closed_ago_by_html: '%{time_ago}に%{user}によって閉じられました'
- deleted_ago_by_html: '%{time_ago}に%{user}によって削除されました'
- edited_ago_by_html: '%{time_ago}に%{user}によって編集されました'
+ created_ago_by_html: '%{user}ã\81\8c%{time_ago}ã\81«ä½\9cæ\88\90'
+ closed_ago_by_html: '%{user}が%{time_ago}に閉じました'
+ deleted_ago_by_html: '%{user}が%{time_ago}に削除'
+ edited_ago_by_html: '%{user}が%{time_ago}に編集'
version: バージョン
in_changeset: 変更セット
anonymous: 匿名
facebook:
title: Facebookでログイン
alt: Facebook アカウントを使用してログイン
- windowslive:
+ microsoft:
title: Microsoftでログイン
alt: Microsoftアカウントでログイン
github:
facebook:
title: Qqen s Facebook
alt: Qqen s umidan Facebook
- windowslive:
+ microsoft:
title: Qqen s Windows Live
alt: Qqen s umiḍan Windows Live
github:
title: កត់ឈ្មោះចូលដោយប្រើ Google
facebook:
title: កត់ឈ្មោះចូលដោយប្រើ Facebook
- windowslive:
+ microsoft:
title: កត់ឈ្មោះចូលដោយប្រើ Windows Live
github:
title: កត់ឈ្មោះចូលដោយប្រើ GitHub
none: ಯಾವುದೂ ಇಲ್ಲ
google: ಗೂಗಲ್
facebook: ಫೇಸ್ಬುಕ್
- windowslive: ವಿಂಡೋಸ್ ಲೈವ್
+ microsoft: ವಿಂಡೋಸ್ ಲೈವ್
github: ಗಿಟ್ಹಬ್
wikipedia: ವಿಕಿಪೀಡಿಯ
api:
facebook:
title: 페이스북으로 로그인
alt: 페이스북 계정으로 로그인하기
- windowslive:
+ microsoft:
title: 윈도 라이브로 로그인하기
alt: 윈도 라이브 계정으로 로그인하기
github:
facebook:
title: Donn övver ene Zohjang op Facebook ennlogge
alt: Donn övver ene Zohjang op Facebook ennlogge
- windowslive:
+ microsoft:
title: Donn medd enem Zohjang op Windows Live ennlogge
alt: Donn medd enem Zohjang op Windows Live ennlogge
github:
facebook:
title: Bi Facebookê têkeve
alt: Bi hesabekî Facebookê têkeve
- windowslive:
+ microsoft:
title: Bi Windows Live'ê têkeve
alt: Bi hesabê xwe yê Windows Liveê têkeve
github:
facebook:
title: Mat Facebook aloggen
alt: Mat engem Facebook Benotzerkont aloggen
- windowslive:
+ microsoft:
title: Mat Microsoft aloggen
alt: Mat engem Microsoft-Benotzerkont aloggen
github:
home location: Pradinė lokacija
no home location: Jūs neįvedėte savo namų pozicijos
update home location on click: Atnaujinti namų poziciją paspaudus ant žemėlapio?
+ show: Rodyti
+ delete: Trinti
+ undelete: Anuliuoti trynimą
update:
success: Profilis atnaujintas.
failure: Nepavyko atnaujinti profilio.
facebook:
title: Prisijungti su Facebook
alt: Prisijungti su Facebook paskyra
- windowslive:
+ microsoft:
title: Prisijungti su Windows Live
alt: Prisijungti su Windows Live paskyra
github:
facebook:
title: Pieslēgties ar Facebook
alt: Pieslēgties ar Facebook kontu
- windowslive:
+ microsoft:
title: Pieslēgties ar Microsoft
alt: Pieslēgties ar Microsoft kontu
github:
facebook:
title: Најава со Фејсбук
alt: Најава со профил на Фејсбук
- windowslive:
+ microsoft:
title: Најава со Microsoft
alt: Најава со сметка на Microsoft
github:
facebook:
title: Ынтраря ку ажуторул Facebook
alt: Ынтраря ку ажуторул контулуй де Facebook
- windowslive:
+ microsoft:
title: Ынтраря ку ажуторул Windows Live
alt: Ынтраря ку ажуторул контулуй де Windows Live
github:
facebook:
title: Log masuk dengan Facebook
alt: Log masuk dengan Akuan Facebook
- windowslive:
+ microsoft:
title: Log masuk dengan Window Live
alt: Log masuk dengan Akaun Windows Live
github:
facebook:
title: Logg inn med Facebook
alt: Logg inn med en Facebook-konto
- windowslive:
+ microsoft:
title: Logg inn med Microsoft
alt: Logg inn med en Microsoft-konto
github:
facebook:
title: Aanmelden met Facebook
alt: Aanmelden met een Facebookaccount
- windowslive:
+ microsoft:
title: Aanmelden met Microsoft
alt: Aanmelden met een Microsoft-account
github:
facebook:
title: Logg inn med Facebook
alt: Logg inn med ein Facebook-konto
- windowslive:
+ microsoft:
title: Logg inn med Windows Live
alt: Logg inn med ein Windows Live-konto
github:
openid: ߏߔߌ߲ ID
google: ߜ߭ߎߜ߭ߏߟ
facebook: ߝߋߛߑߓߎߞ
- windowslive: ߡߌߞߙߏߛߐߝߕ
+ microsoft: ߡߌߞߙߏߛߐߝߕ
github: GitHub
wikipedia: ߥߞߌߔߋߘߌߦߊ
api:
facebook:
title: ߌ ߜߊ߲߬ߞߎ߲߫ ߝߋߛߑߓߎߞ ߟߊ߫
alt: ߌ ߜߊ߲߬ߞߎ߲߫ ߝߋߛߑߓߎߞ ߖߊ߬ߕߋ߬ߘߊ ߘߏ߫ ߟߊ߫
- windowslive:
+ microsoft:
title: ߌ ߜ߭ߊ߲߬ߞߎ߲߫ ߥߌ߲ߘߏߥߛ ߟߊߌߝ߭ ߟߊ߫
alt: ߌ ߜߊ߲߬ߞߎ߲߫ ߥߌ߲ߘߏߥߛ ߟߊߌߝ߭ ߖߊ߬ߕߋ߬ߘߊ ߟߊ߫
github:
facebook:
title: Se connectar amb Facebook
alt: Se connectar amb un commpte Facebook
- windowslive:
+ microsoft:
title: Se connectar amb Windows Live
alt: Se connectar amb un compte Windows Live
github:
none: ਕੋਈ ਨਹੀਂ
google: ਗੂਗਲ
facebook: ਫੇਸਬੁੱਕ
- windowslive: ਵਿੰਡੋਜ਼ ਲਾਈਵ
+ microsoft: ਵਿੰਡੋਜ਼ ਲਾਈਵ
github: ਗਿੱਟਹੱਬ
wikipedia: ਵਿਕੀਪੀਡੀਆ
api:
facebook:
title: Zaloguj się przez Facebooka
alt: Zaloguj się przez konto Facebook
- windowslive:
+ microsoft:
title: Zaloguj się przez Microsoft
alt: Zaloguj się kontem Microsoft
github:
openid: اوپن آئی ڈی
google: گوگل
facebook: فیسبوک
- windowslive: وِنڈوز لائیو
+ microsoft: وِنڈوز لائیو
github: گِٹ ہب
wikipedia: وِکیپیدیا
api:
facebook:
title: فیسبوک نال لوگاین کرو
alt: فیسبوک ورتو
- windowslive:
+ microsoft:
title: وینڈوز لائیو نال لوگاین کرو
alt: وینڈوز لائیو ورتو
github:
openid: OpenID
google: Google
facebook: Facebook
+ microsoft: Microsoft
github: GitHub
wikipedia: Wikipédia
api:
history_title_html: 'Histórico da Linha: %{name}'
nodes: Nós
nodes_count:
- one: 1 nó
+ one: '%{count} nó'
other: '%{count} nós'
also_part_of_html:
one: parte da linha %{related_ways}
reply_link: Enviar mensagem ao autor
comment_count:
one: '%{count} comentário'
- zero: Sem comentários
other: '%{count} comentários'
+ no_comments: Sem comentários
edit_link: Editar
hide_link: Ocultar
unhide_link: Mostrar
stable: Estábulo
static_caravan: Caravana
temple: Edíficio de templo
- terrace: Edifício terraçado
+ terrace: Edifício geminado
train_station: Edifício de estação dos comboios
university: Edifício universitário
warehouse: Armazém
"yes": Desfiladeiro
natural:
atoll: Atol
- bare_rock: Rocha visível
+ bare_rock: Rocha exposta
bay: Baía
beach: Praia
cape: Cabo
cave_entrance: Entrada de gruta
cliff: Precipício
- coastline: Litoral
+ coastline: Linha costeira
crater: Cratera
dune: Duna
fell: Encosta desflorestada
show:
title: '%{status} Denúncia #%{issue_id}'
reports:
- zero: Sem denúncias
- one: 1 denúncia
+ one: '%{count} denúncia'
other: '%{count} denúncias'
+ no_reports: Sem denúncias
report_created_at: Denunciado pela primeira vez em %{datetime}
last_resolved_at: Resolvido pela última vez em %{datetime}
last_updated_at: Atualizado pela última vez em %{datetime} por %{displayname}
home location: Localização principal
no home location: Não definiste a tua localização principal.
update home location on click: Atualizar a localização ao clicar no mapa?
+ show: Mostrar
+ delete: Eliminar
+ undelete: Desfazer eliminação
update:
success: Perfil atualizado.
failure: Não foi possível atualizar o perfil.
facebook:
title: Iniciar sessão com o Facebook
alt: Iniciar sessão com uma conta do Facebook
- windowslive:
+ microsoft:
title: Iniciar sessão com Microsoft
alt: Iniciar sessão com uma conta Microsoft
github:
index:
title: Notas submetidas ou comentadas por %{user}
heading: Notas de %{user}
- subheading_html: Notas submetidas ou comentadas por %{user}
+ subheading_html: Notas %{submitted} ou %{commented} por %{user}
+ subheading_submitted: enviada
+ subheading_commented: comentada em
no_notes: Sem notas
id: Id
creator: Criador
anonymous_warning: Esta nota inclui comentários de utilizadores anónimos que
devem ser confirmados por fonte independente.
hide: Esconder
- resolve: Marcar como resolvido
+ resolve: Marcar como resolvida
reactivate: Reabrir
comment_and_resolve: Comentar e resolver
comment: Comentar
facebook:
title: Entrar com o Facebook
alt: Entrar com uma conta do Facebook
- windowslive:
+ microsoft:
title: Entrar com o Windows Live
alt: Entrar com uma conta do Windows Live
github:
facebook:
title: Autentificare cu Facebook
alt: Conectați-vă cu un cont Facebook
- windowslive:
+ microsoft:
title: Conectare cu Microsoft
alt: Conectare cu un Cont Microsoft
github:
facebook:
title: Войти с помощью Facebook
alt: Войти с помощью учётной записи в Facebook
- windowslive:
+ microsoft:
title: Войти с помощью Windows Live
alt: Войти с помощью учётной записи Windows Live
github:
history_title_html: 'Istòria de sa lìnia: %{name}'
nodes: Nodos
nodes_count:
- one: 1 nodu
+ one: '%{count} nodu'
other: '%{count} nodos'
also_part_of_html:
one: parte de sa lìnia %{related_ways}
comment_count:
one: '%{count} cummentu'
other: '%{count} cummentos'
+ no_comments: Perunu cummentu
edit_link: Modìfica custa intrada
hide_link: Cua custa intrada
unhide_link: Ammustra custa intrada
reports:
one: '%{count} sinnalatzione'
other: '%{count} sinnalatziones'
+ no_reports: Perunu informe
report_created_at: Sinnaladu pro sa prima borta su %{datetime}
last_resolved_at: Risoltu pro s'ùrtima borta su %{datetime}
last_updated_at: Ùrtima atualizatzione de %{displayname} su %{datetime}
no home location: No as insertadu sa positzione de incumintzu tua.
update home location on click: Atualizare sa positzione de incumintzu incarchende
in sa mapa?
+ show: Ammustra
+ delete: Iscantzella
+ undelete: Annulla s'iscantzellamentu
update:
success: Profilu atualizadu.
failure: Non s'est pòdidu atualizare su profilu.
facebook:
title: Intra cun Facebook
alt: Intra cun unu contu de Facebook
- windowslive:
+ microsoft:
title: Intra cun Microsoft
alt: Intra cun unu contu de Microsoft
github:
facebook:
title: Trasi cu Facebook
alt: Trasi cûn cuntu di Facebook
- windowslive:
+ microsoft:
title: Trasi cu Windows Live
alt: Trasi cûn cuntu di Windows Live
github:
facebook:
title: Login wi Facebook
alt: Login wi a Facebook Accoont
- windowslive:
+ microsoft:
title: Login wi Windows Live
alt: Login wi a Windows Live Accoont
github:
facebook:
title: Prihlásenie sa pomocou Facebooku
alt: Prihlásenie sa pomocou účtu na Facebooku
- windowslive:
+ microsoft:
title: Prihlásenie sa pomocou Windows Live
alt: Prihlásenie sa pomocou účtu Windows Live
github:
openid: کھلی آئی ڈی
google: گوگل
facebook: فیسبوک
- windowslive: مائیکروسافٹ
+ microsoft: مائیکروسافٹ
github: گِٹ ہب
wikipedia: وکیپیڈیا
api:
alt: گوگل اوپن آئی ڈی نال لاگ ان تھیوو
facebook:
title: فیس بک نال لاگ ان تھیوو
- windowslive:
+ microsoft:
title: مائیکروسافٹ نال لاگ ان تھیوو
alt: مائیکروسافٹ کھاتے نال لاگ ان تھیوو
github:
show: ݙِکھاؤ
edit: تبدیلی کرو
notes:
+ index:
+ subheading_submitted: جمع تھی ڳیا
show:
title: نوٹ:%{id}
description: تفصیل
facebook:
title: Prijavi se s Facebookom
alt: Prijavi se z računom Facebook
- windowslive:
+ microsoft:
title: Prijava z Microsoftom
alt: Prijava z računom Microsoft
github:
index:
title: Opombe, ki jih je posredoval_a ali komentiral_a %{user}
heading: Opombe uporabnika %{user}
- subheading_html: Opombe, ki jih je posredoval_a ali komentiral_a %{user}
+ subheading_html: Opombe, ki jih je %{submitted} ali %{commented} %{user}
+ subheading_submitted: posredoval_a
+ subheading_commented: komentiral_a
no_notes: Ni opomb
id: Id
creator: Ustvarjalec
facebook:
title: Пријавити се са Facebook-ом
alt: Пријава преко Facebook налога
- windowslive:
+ microsoft:
title: Пријава преко Microsoft-а
alt: Пријава преко Microsoft налога
github:
facebook:
title: Logga in med Facebook
alt: Logga in med ett Facebook-konto
- windowslive:
+ microsoft:
title: Logga in med Microsoft
alt: Logga in med ett Microsoft-konto
github:
facebook:
title: Facebook తో లాగినవండి
alt: Facebook ఖాతాతో లాగినవండి
- windowslive:
+ microsoft:
title: Windows Live తో లాగినవండి
alt: Windows Live ఖాతాతో లాగినవండి
github:
facebook:
title: เข้าใช้งานด้วย Facebook
alt: เข้าใช้งานด้วยบัญชี Facebook
- windowslive:
+ microsoft:
title: เข้าใช้งานด้วย Windows Live
alt: เข้าใช้งานด้วยบัญชี Windows Live
github:
facebook:
title: Lumagda gamit ang Facebook
alt: Lumagda gamit ang isang akawnt sa Facebook
- windowslive:
+ microsoft:
title: Lumagda gamit ang Windows Live
alt: Lumagda gamit ang isang akawnt sa Windows Live
github:
facebook:
title: Facebook ile giriş
alt: Facebook Hesabı ile giriş
- windowslive:
+ microsoft:
title: Microsoft ile giriş
alt: Microsoft Hesabı ile giriş
github:
facebook:
title: Увійти з Facebook
alt: Увійти з облікового запису Facebook
- windowslive:
+ microsoft:
title: Увійти з Microsoft
alt: Увійти з облікового запису Microsoft
github:
facebook:
title: Đăng nhập qua Facebook
alt: Đăng nhập dùng tài khoản Facebook
- windowslive:
- title: Đăng nhập qua Windows Live
- alt: Đăng nhập dùng tài khoản Windows Live
+ microsoft:
+ title: Đăng nhập qua Microsoft
+ alt: Đăng nhập dùng Tài khoản Microsoft
github:
title: Đăng nhập qua GitHub
alt: Đăng nhập dùng tài khoản GitHub
facebook:
title: 使用脸书登录
alt: 使用Facebook账户登录
- windowslive:
+ microsoft:
title: 使用Microsoft登录
alt: 使用Microsoft账户登录
github:
openid: OpenID
google: Google
facebook: 臉書
+ microsoft: 微軟
github: GitHub
wikipedia: 維基百科
api:
facebook:
title: 使用臉書登入
alt: 使用臉書帳號登入
- windowslive:
+ microsoft:
title: 使用 Microsoft 帳號登入
alt: 使用 Microsoft 帳號登入
github:
index:
title: 由 %{user} 送出或評論的註記
heading: '%{user} 的註記'
- subheading_html: '%{user} 送出或評論的註記'
+ subheading_html: 由%{user}%{submitted}或%{commented}的註記
+ subheading_submitted: 已提交
+ subheading_commented: 已評論
no_notes: 沒有註記
id: ID
creator: 建立者
check_json_details(js["users"][1], user3, false, false)
get api_users_path, :params => { :users => create(:user, :suspended).id }
- assert_response :not_found
+ assert_response :success
+ assert_equal "application/xml", response.media_type
+ assert_select "user", :count => 0
get api_users_path, :params => { :users => create(:user, :deleted).id }
- assert_response :not_found
+ assert_response :success
+ assert_equal "application/xml", response.media_type
+ assert_select "user", :count => 0
get api_users_path, :params => { :users => 0 }
- assert_response :not_found
+ assert_response :success
+ assert_equal "application/xml", response.media_type
+ assert_select "user", :count => 0
end
def test_index_oauth1
check_json_details(js["users"][1], user3, false, false)
signed_get api_users_path, :params => { :users => create(:user, :suspended).id }, :oauth => { :token => good_token }
- assert_response :not_found
+ assert_response :success
+ assert_equal "application/xml", response.media_type
+ assert_select "user", :count => 0
signed_get api_users_path, :params => { :users => create(:user, :deleted).id }, :oauth => { :token => good_token }
- assert_response :not_found
+ assert_response :success
+ assert_equal "application/xml", response.media_type
+ assert_select "user", :count => 0
signed_get api_users_path, :params => { :users => 0 }, :oauth => { :token => good_token }
- assert_response :not_found
+ assert_response :success
+ assert_equal "application/xml", response.media_type
+ assert_select "user", :count => 0
end
def test_index_oauth2
check_json_details(js["users"][1], user3, false, false)
get api_users_path, :params => { :users => create(:user, :suspended).id }, :headers => bearer_authorization_header(good_token.token)
- assert_response :not_found
+ assert_response :success
+ assert_equal "application/xml", response.media_type
+ assert_select "user", :count => 0
get api_users_path, :params => { :users => create(:user, :deleted).id }, :headers => bearer_authorization_header(good_token.token)
- assert_response :not_found
+ assert_response :success
+ assert_equal "application/xml", response.media_type
+ assert_select "user", :count => 0
get api_users_path, :params => { :users => 0 }, :headers => bearer_authorization_header(good_token.token)
- assert_response :not_found
+ assert_response :success
+ assert_equal "application/xml", response.media_type
+ assert_select "user", :count => 0
end
def test_gpx_files
class OAuth2Test < ActionDispatch::IntegrationTest
def test_oauth2
+ user = create(:user)
client = create(:oauth_application, :redirect_uri => "https://some.web.app.example.org/callback", :scopes => "read_prefs write_api read_gpx")
state = SecureRandom.urlsafe_base64(16)
- authorize_client(client, :state => state)
+ authorize_client(user, client, :state => state)
assert_response :redirect
code = validate_redirect(client, state)
token = request_token(client, code)
- test_token(token, client)
+ test_token(token, user, client)
end
def test_oauth2_oob
+ user = create(:user)
client = create(:oauth_application, :redirect_uri => "urn:ietf:wg:oauth:2.0:oob", :scopes => "read_prefs write_api read_gpx")
- authorize_client(client)
+ authorize_client(user, client)
assert_response :redirect
follow_redirect!
assert_response :success
token = request_token(client, code)
- test_token(token, client)
+ test_token(token, user, client)
end
def test_oauth2_pkce_plain
+ user = create(:user)
client = create(:oauth_application, :redirect_uri => "https://some.web.app.example.org/callback", :scopes => "read_prefs write_api read_gpx")
state = SecureRandom.urlsafe_base64(16)
verifier = SecureRandom.urlsafe_base64(48)
challenge = verifier
- authorize_client(client, :state => state, :code_challenge => challenge, :code_challenge_method => "plain")
+ authorize_client(user, client, :state => state, :code_challenge => challenge, :code_challenge_method => "plain")
assert_response :redirect
code = validate_redirect(client, state)
token = request_token(client, code, verifier)
- test_token(token, client)
+ test_token(token, user, client)
end
def test_oauth2_pkce_s256
+ user = create(:user)
client = create(:oauth_application, :redirect_uri => "https://some.web.app.example.org/callback", :scopes => "read_prefs write_api read_gpx")
state = SecureRandom.urlsafe_base64(16)
verifier = SecureRandom.urlsafe_base64(48)
challenge = Base64.urlsafe_encode64(Digest::SHA256.digest(verifier), :padding => false)
- authorize_client(client, :state => state, :code_challenge => challenge, :code_challenge_method => "S256")
+ authorize_client(user, client, :state => state, :code_challenge => challenge, :code_challenge_method => "S256")
assert_response :redirect
code = validate_redirect(client, state)
token = request_token(client, code, verifier)
- test_token(token, client)
+ test_token(token, user, client)
end
private
- def authorize_client(client, options = {})
+ def authorize_client(user, client, options = {})
options = options.merge(:client_id => client.uid,
:redirect_uri => client.redirect_uri,
:response_type => "code",
assert_response :redirect
assert_redirected_to login_path(:referer => request.fullpath)
- user = create(:user)
-
post login_path(:username => user.email, :password => "test")
follow_redirect!
assert_response :success
token["access_token"]
end
- def test_token(token, client)
+ def test_token(token, user, client)
get user_preferences_path
assert_response :unauthorized
get api_trace_path(:id => 2), :headers => auth_header
assert_response :forbidden
+ user.suspend!
+
+ get user_preferences_path, :headers => auth_header
+ assert_response :forbidden
+
+ user.hide!
+
+ get user_preferences_path, :headers => auth_header
+ assert_response :forbidden
+
+ user.unhide!
+
+ get user_preferences_path, :headers => auth_header
+ assert_response :success
+
post oauth_revoke_path(:token => token)
assert_response :forbidden
def test_oauth10_web_app
client = create(:client_application, :callback_url => "http://some.web.app.example.org/callback", :allow_read_prefs => true, :allow_write_api => true, :allow_read_gpx => true)
+ user = create(:user)
- get "/login"
- follow_redirect!
- post "/login", :params => { :username => client.user.email, :password => "test" }
- follow_redirect!
- assert_response :success
+ session_for(user)
oauth10_without_callback(client)
oauth10_with_callback(client, "http://another.web.app.example.org/callback")
def test_oauth10_desktop_app
client = create(:client_application, :allow_read_prefs => true, :allow_write_api => true, :allow_read_gpx => true)
+ user = create(:user)
- get "/login"
- follow_redirect!
- post "/login", :params => { :username => client.user.email, :password => "test" }
- follow_redirect!
- assert_response :success
+ session_for(user)
oauth10_without_callback(client)
oauth10_refused(client)
def test_oauth10a_web_app
client = create(:client_application, :callback_url => "http://some.web.app.example.org/callback", :allow_read_prefs => true, :allow_write_api => true, :allow_read_gpx => true)
+ user = create(:user)
- get "/login"
- follow_redirect!
- post "/login", :params => { :username => client.user.email, :password => "test" }
- follow_redirect!
- assert_response :success
+ session_for(user)
oauth10a_without_callback(client)
oauth10a_with_callback(client, "http://another.web.app.example.org/callback")
def test_oauth10a_desktop_app
client = create(:client_application, :allow_read_prefs => true, :allow_write_api => true, :allow_read_gpx => true)
+ user = create(:user)
- get "/login"
- follow_redirect!
- post "/login", :params => { :username => client.user.email, :password => "test" }
- follow_redirect!
- assert_response :success
+ session_for(user)
oauth10a_without_callback(client)
oauth10a_refused(client)
assert_nil token.invalidated_at
assert_allowed token, [:allow_read_prefs]
+ post logout_path
+
signed_get "/api/0.6/user/preferences", :oauth => { :token => token }
assert_response :success
signed_get "/api/0.6/gpx/2", :oauth => { :token => token }
assert_response :forbidden
+ token.user.suspend!
+ signed_get "/api/0.6/user/preferences", :oauth => { :token => token }
+ assert_response :forbidden
+
+ token.user.hide!
+ signed_get "/api/0.6/user/preferences", :oauth => { :token => token }
+ assert_response :forbidden
+
+ token.user.unhide!
+ signed_get "/api/0.6/user/preferences", :oauth => { :token => token }
+ assert_response :success
+
+ session_for(token.user)
+
post "/oauth/revoke", :params => { :token => token.token }
assert_redirected_to oauth_clients_url(token.user.display_name)
token = OauthToken.find_by(:token => token.token)
assert_nil token.invalidated_at
assert_allowed token, [:allow_write_api, :allow_read_gpx]
- trace = create(:trace, :user => client.user)
+ post logout_path
+
+ trace = create(:trace, :user => token.user)
signed_get "/api/0.6/gpx/#{trace.id}", :oauth => { :token => token }
assert_response :success
signed_get "/api/0.6/user/details", :oauth => { :token => token }
assert_response :forbidden
+ token.user.suspend!
+ signed_get "/api/0.6/gpx/#{trace.id}", :oauth => { :token => token }
+ assert_response :forbidden
+
+ token.user.hide!
+ signed_get "/api/0.6/gpx/#{trace.id}", :oauth => { :token => token }
+ assert_response :forbidden
+
+ token.user.unhide!
+ signed_get "/api/0.6/gpx/#{trace.id}", :oauth => { :token => token }
+ assert_response :success
+
+ session_for(token.user)
+
post "/oauth/revoke", :params => { :token => token.token }
assert_redirected_to oauth_clients_url(token.user.display_name)
token = OauthToken.find_by(:token => token.token)
assert_nil token.invalidated_at
assert_allowed token, [:allow_read_prefs]
+ post logout_path
+
signed_get "/api/0.6/user/preferences", :oauth => { :token => token }
assert_response :success
- trace = create(:trace, :user => client.user)
+ trace = create(:trace, :user => token.user)
signed_get "/api/0.6/gpx/#{trace.id}", :oauth => { :token => token }
assert_response :forbidden
+ token.user.suspend!
+ signed_get "/api/0.6/user/preferences", :oauth => { :token => token }
+ assert_response :forbidden
+
+ token.user.hide!
+ signed_get "/api/0.6/user/preferences", :oauth => { :token => token }
+ assert_response :forbidden
+
+ token.user.unhide!
+ signed_get "/api/0.6/user/preferences", :oauth => { :token => token }
+ assert_response :success
+
+ session_for(token.user)
+
post "/oauth/revoke", :params => { :token => token.token }
assert_redirected_to oauth_clients_url(token.user.display_name)
token = OauthToken.find_by(:token => token.token)
assert_nil token.invalidated_at
assert_allowed token, [:allow_write_api, :allow_read_gpx]
- trace = create(:trace, :user => client.user)
+ post logout_path
+
+ trace = create(:trace, :user => token.user)
signed_get "/api/0.6/gpx/#{trace.id}", :oauth => { :token => token }
assert_response :success
signed_get "/api/0.6/user/details", :oauth => { :token => token }
assert_response :forbidden
+ token.user.suspend!
+ signed_get "/api/0.6/gpx/#{trace.id}", :oauth => { :token => token }
+ assert_response :forbidden
+
+ token.user.hide!
+ signed_get "/api/0.6/gpx/#{trace.id}", :oauth => { :token => token }
+ assert_response :forbidden
+
+ token.user.unhide!
+ signed_get "/api/0.6/gpx/#{trace.id}", :oauth => { :token => token }
+ assert_response :success
+
+ session_for(token.user)
+
post "/oauth/revoke", :params => { :token => token.token }
assert_redirected_to oauth_clients_url(token.user.display_name)
token = OauthToken.find_by(:token => token.token)
minimatch "^3.1.2"
strip-json-comments "^3.1.1"
-"@eslint/js@^8.47.0":
- version "8.47.0"
- resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.47.0.tgz#5478fdf443ff8158f9de171c704ae45308696c7d"
- integrity sha512-P6omY1zv5MItm93kLM8s2vr1HICJH8v0dvddDhysbIuZ+vcjOHg5Zbkf1mTkcmi2JA9oBG2anOkRnW8WJTS8Og==
+"@eslint/js@8.48.0":
+ version "8.48.0"
+ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.48.0.tgz#642633964e217905436033a2bd08bf322849b7fb"
+ integrity sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==
"@humanwhocodes/config-array@^0.11.10":
version "0.11.10"
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==
eslint@^8.0.0:
- version "8.47.0"
- resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.47.0.tgz#c95f9b935463fb4fad7005e626c7621052e90806"
- integrity sha512-spUQWrdPt+pRVP1TTJLmfRNJJHHZryFmptzcafwSvHsceV81djHOdnEeDmkdotZyLNjDhrOasNK8nikkoG1O8Q==
+ version "8.48.0"
+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.48.0.tgz#bf9998ba520063907ba7bfe4c480dc8be03c2155"
+ integrity sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==
dependencies:
"@eslint-community/eslint-utils" "^4.2.0"
"@eslint-community/regexpp" "^4.6.1"
"@eslint/eslintrc" "^2.1.2"
- "@eslint/js" "^8.47.0"
+ "@eslint/js" "8.48.0"
"@humanwhocodes/config-array" "^0.11.10"
"@humanwhocodes/module-importer" "^1.0.1"
"@nodelib/fs.walk" "^1.2.8"