Skip to content

Commit

Permalink
Merge branch 'hotfix'
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweissman committed Jan 30, 2018
2 parents 772cd45 + 864550f commit 7cb7893
Show file tree
Hide file tree
Showing 16 changed files with 718 additions and 179 deletions.
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!-- Love userfrosting? Please consider supporting our collective:
👉 https://opencollective.com/userfrosting/donate -->
16 changes: 12 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## v4.1.16-alpha
- Fix for `merge` bundling rule (#660)
- Fix for undefined variable exception under strict mode in `ufAlerts` (#809)
- Fix for site cache reset upon login (#828)
- Changed global cache tag to proper prefix
- Fix broken alert message in registration process (#843)
- Add partial Turkish translation

## v4.1.15-alpha
- Refactor `Password` into a instantiable `Hasher` class, service, and `Password` facade (#827)
- Change default hash cost back to 10 and fix legacy hash detection issue
Expand Down Expand Up @@ -29,7 +37,7 @@
- Change "remember me" text
- Improve table tool buttons
- Twig extensions now implement `Twig_Extension_GlobalsInterface` as required by https://twig.symfony.com/doc/2.x/advanced.html#id1 (#788)
- Display element based on permissions for group list/info pages
- Display element based on permissions for group list/info pages
- Factor the admin user creation out of migrations and into its own Bakery command (See #778)
- Bakery `clear-cache` command now clears Twig and router cache (Fix #750)
- Add Russian translations
Expand Down Expand Up @@ -360,7 +368,7 @@ See [http://learn.userfrosting.com/upgrading/40-to-41](Upgrading 4.0.x to 4.1.x
- Use Laravel's Schema interface to create tables and default rows, instead of constructing them with SQL

## v0.3.1.20
- Added `pushAlert()`,`clearAlerts()` in `public/js/userfrosting.js` and updated `flashAlerts()`
- Added `pushAlert()`,`clearAlerts()` in `public/js/userfrosting.js` and updated `flashAlerts()`
- Revert changes to User::fresh() but leave comment regarding upgrading Eloquent

## v0.3.1.19
Expand Down Expand Up @@ -487,7 +495,7 @@ See [http://learn.userfrosting.com/upgrading/40-to-41](Upgrading 4.0.x to 4.1.x
- [Theming](https://v3.userfrosting.com/components/#theming)
- [Plugins](https://v3.userfrosting.com/components/#plugins)

## v0.2.1
## v0.2.1
- Implemented db-driven menu system. Menu items are pulled from the database, and can be modified via plugins.
- Implemented backend templating of forms and tables via [Bootsole](https://github.com/alexweissman/bootsole).

Expand Down Expand Up @@ -524,7 +532,7 @@ See [http://learn.userfrosting.com/upgrading/40-to-41](Upgrading 4.0.x to 4.1.x
- Included better functions for sanitizing user input, validating user ip, generating csrf (cross-site request forgery) tokens - thanks to contributor @r3wt

## v0.1.3
- Root account (user id = 1) : created upon installation, cannot be deleted or disabled.
- Root account (user id = 1) : created upon installation, cannot be deleted or disabled.
- Special color scheme for when logged in as root user.
- Installer now guides user through creation of root account
- Moved common JS and CSS includes to "includes.php"
Expand Down
50 changes: 38 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
# UserFrosting 4.1

[https://www.userfrosting.com](https://www.userfrosting.com)

[![Build Status](https://travis-ci.org/userfrosting/UserFrosting.svg?branch=master)](https://travis-ci.org/userfrosting/UserFrosting)
[![Join the chat at https://chat.userfrosting.com/channel/support](https://demo.rocket.chat/images/join-chat.svg)](https://chat.userfrosting.com/channel/support)
[![Backers on Open Collective](https://opencollective.com/userfrosting/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/userfrosting/sponsors/badge.svg)](#sponsors)

[![Click here to lend your support to: UserFrosting: A secure, modern user management system for PHP and make a donation at pledgie.com !](https://pledgie.com/campaigns/29583.png?skin_name=chrome)](https://pledgie.com/campaigns/29583)

[https://www.userfrosting.com](https://www.userfrosting.com)
<a href="https://opencollective.com/userfrosting#backer" target="_blank">
<img src="https://opencollective.com/userfrosting/donate/button.png?color=blue" width=300 />
</a>

If you simply want to show that you like this project, or want to remember it for later, you should **star**, not **fork**, this repository. Forking is only for when you are ready to create your own copy of the code to work on.

## By [Alex Weissman](https://alexanderweissman.com)

Copyright (c) 2017, free to use in personal and commercial software as per the [license](LICENSE.md).
Copyright (c) 2018, free to use in personal and commercial software as per the [license](LICENSE.md).

UserFrosting is a secure, modern user management system written in PHP and built on top of the [Slim Microframework](http://www.slimframework.com/), [Twig](http://twig.sensiolabs.org/) templating engine, and [Eloquent](https://laravel.com/docs/5.4/eloquent#introduction) ORM.

Expand Down Expand Up @@ -61,7 +64,7 @@ UserFrosting seeks to balance modern programming principles, like DRY and MVC, w

Run `php bakery test` from the root project directory. Any tests included in `sprinkles/*/tests` will be run.

## About the Developers
## Development Team

### Alexander Weissman

Expand All @@ -79,15 +82,17 @@ Jordan's a developer at Mayvin Training and a student studying Computer Science

Sarah is UserFrosting's UX specialist and frontend designer. In addition to her work on the UF application itself, she is responsible for the amazing design of https://www.userfrosting.com and https://learn.userfrosting.com.

### Mike Jacobs

Mike's a programmer and IT specialist for a small business in New Hampshire, and works on open source projects when he's not camping or traveling.

### Srinivas Nukala

Srinivas's a web applications architect, with a passion for open source technologies. He is experienced in building SaaS (software as a service) web applications and enjoys working on open source projects and contributing to the community. He has a Masters in Computer Science from Pune University, India.

## Thanks to our translators!
## Contributing

This project exists thanks to all the people who contribute. If you're interested in contributing to the UserFrosting codebase, please see our [contributing guidelines](.github/CONTRIBUTING.md) as well as our [style guidelines](STYLE-GUIDE.md).

<a href="graphs/contributors"><img src="https://opencollective.com/userfrosting/contributors.svg?width=890" /></a>

### Thanks to our translators!

- Louis Charette (@lcharette) - French
- Karuhut Komol (@popiazaza) - Thai
Expand All @@ -101,7 +106,28 @@ Srinivas's a web applications architect, with a passion for open source technolo
- @X-Anonymous-Y - German
- Dmitriy (@rendername) - Russian
- Amin Akbari (@aminakbari) - Farsi
- Dumblledore - Turkish

## Contributing
## Supporting UserFrosting

### Backers

Support UserFrosting with a monthly donation to help us continue development! [[Become a backer](https://opencollective.com/userfrosting#backer)]

<a href="https://opencollective.com/userfrosting#backers" target="_blank"><img src="https://opencollective.com/userfrosting/backers.svg?width=890"></a>

#### Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/userfrosting#sponsor)]

<a href="https://opencollective.com/userfrosting/sponsor/0/website" target="_blank"><img src="https://opencollective.com/userfrosting/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/userfrosting/sponsor/1/website" target="_blank"><img src="https://opencollective.com/userfrosting/sponsor/1/avatar.svg"></a>
<a href="https://opencollective.com/userfrosting/sponsor/2/website" target="_blank"><img src="https://opencollective.com/userfrosting/sponsor/2/avatar.svg"></a>
<a href="https://opencollective.com/userfrosting/sponsor/3/website" target="_blank"><img src="https://opencollective.com/userfrosting/sponsor/3/avatar.svg"></a>
<a href="https://opencollective.com/userfrosting/sponsor/4/website" target="_blank"><img src="https://opencollective.com/userfrosting/sponsor/4/avatar.svg"></a>
<a href="https://opencollective.com/userfrosting/sponsor/5/website" target="_blank"><img src="https://opencollective.com/userfrosting/sponsor/5/avatar.svg"></a>
<a href="https://opencollective.com/userfrosting/sponsor/6/website" target="_blank"><img src="https://opencollective.com/userfrosting/sponsor/6/avatar.svg"></a>
<a href="https://opencollective.com/userfrosting/sponsor/7/website" target="_blank"><img src="https://opencollective.com/userfrosting/sponsor/7/avatar.svg"></a>
<a href="https://opencollective.com/userfrosting/sponsor/8/website" target="_blank"><img src="https://opencollective.com/userfrosting/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/userfrosting/sponsor/9/website" target="_blank"><img src="https://opencollective.com/userfrosting/sponsor/9/avatar.svg"></a>

Please see our [contributing guidelines](.github/CONTRIBUTING.md) as well as our [style guidelines](STYLE-GUIDE.md).
2 changes: 1 addition & 1 deletion app/defines.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace UserFrosting;

// Some standard defines
define('UserFrosting\VERSION', '4.1.15-alpha');
define('UserFrosting\VERSION', '4.1.16-alpha');
define('UserFrosting\DS', '/');
define('UserFrosting\PHP_MIN_VERSION', '5.6');
define('UserFrosting\DEBUG_CONFIG', false);
Expand Down
183 changes: 183 additions & 0 deletions app/sprinkles/account/locale/tr/messages.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
<?php
/**
* UserFrosting (http://www.userfrosting.com)
*
* @link https://github.com/userfrosting/UserFrosting
* @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License)
*
* Turkish message token translations for the 'account' sprinkle.
*
* @package userfrosting\i18n\tr
* @author Dumblledore
*/

return [
"ACCOUNT" => [
"@TRANSLATION" => "Hesap",

"ACCESS_DENIED" => "Hmm. görünüşe göre böyle bir şey için izne sahip değilsiniz.",

"DISABLED" => "Bu hesap durduruldu. Daha çok bilgi için bizimle iletişime geçin.",

"EMAIL_UPDATED" => "Hesap maili güncellendi",

"INVALID" => "Bu hesap bulunamadı. Silinmiş olabilir. Daha çok bilgi için bizimle iletişime geçin.",

"MASTER_NOT_EXISTS" => "Ana hesap oluşturuluncaya kadar bir hesap oluşturamazsın!",
"MY" => "Hesabım",

"SESSION_COMPROMISED" => [
"@TRANSLATION" => "Oturumunuz tehlikeye atıldı. Tüm cihazlardan çıkmanız, daha sonra giriş yapmanız ve bilgilerinizin değiştirilmediğini kontrol etmeniz gerekir.",
"TITLE" => "Hesabınız tehlikeye atılmış olabilir",
"TEXT" => "Birisi bu sayfayı ele geçirmek için giriş verilerinizi kullanmış olabilir. Güvenliğiniz için tüm oturumlar günlüğe kaydedildi. Lütfen <a href=\"{{url}}\">giriş yapın</a>ve şüpheli hareketler için hesabınızı kontrol edin. Ayrıca şifrenizi değiştirmek isteyebilirsiniz."
],
"SESSION_EXPIRED" => "Oturumunuz sona erdi. Lütfen tekrar oturum açın.",

"SETTINGS" => [
"@TRANSLATION" => "Hesap ayarları",
"DESCRIPTION" => "E-posta, isim ve parolanız da dahil olmak üzere hesap ayarlarınızı güncelleyin.",
"UPDATED" => "Hesap ayarları güncellendi"
],

"TOOLS" => "Hesap araçları",

"UNVERIFIED" => "Hesap henüz onaylanmadı. Hesap etkinleştirme talimatları için e-postalarınızı ve spam klasörünüzü kontrol edin.",

"VERIFICATION" => [
"NEW_LINK_SENT" => "{{email}} için yeni bir doğrulama bağlantısı e-posta ile gönderildi. Lütfen bu e-postanın gelen kutusunu ve spam klasörlerini kontrol edin.",
"RESEND" => "Doğrulama e-postasını tekrar gönder",
"COMPLETE" => "Hesabınızı başarıyla doğruladınız. Şimdi giriş yapabilirsiniz.",
"EMAIL" => "Kaydolmak için kullandığınız e-posta adresinizi giriniz, ve doğrulama e-postanızı tekrar gönderin.",
"PAGE" => "Yeni hesabınız için doğrulama e-postasını tekrar gönder.",
"SEND" => "Hesabım için doğrulama bağlantısını e-posta ile gönder",
"TOKEN_NOT_FOUND" => "Doğrulama belirteci bulunumadı / Hesap zaten doğrulandı",
]
],

"EMAIL" => [
"INVALID" => "<strong>{{email}}</strong> için hesap yoktur.",
"IN_USE" => "E-posta <strong>{{email}}</strong> zaten kullanılıyor.",
"VERIFICATION_REQUIRED" => "E-posta (doğrulama gerekli - gerçek bir adres kullanın!)"
],

"EMAIL_OR_USERNAME" => "Kullanıcı adı veya e-posta adresi",

"FIRST_NAME" => "Adınız",

"HEADER_MESSAGE_ROOT" => "Kök kullanıcı olarak giriş yaptın",

"LAST_NAME" => "Soyadı",
"LOCALE" => [
"ACCOUNT" => "Hesabınız için kullanılacak dil ve yerel ayar",
"INVALID" => "<strong>{{locale}}</strong> geçersiz bir yerel."
],
"LOGIN" => [
"@TRANSLATION" => "Oturum Aç",
"ALREADY_COMPLETE" => "Zaten oturum açtınız!",
"SOCIAL" => "Veya şununla oturum aç",
"REQUIRED" => "Üzgünüm, bu sayfaya ulaşmak için oturum açmalısın."
],
"LOGOUT" => "Oturumu kapat",

"NAME" => "Ad",

"NAME_AND_EMAIL" => "Ad ve e-posta",

"PAGE" => [
"LOGIN" => [
"DESCRIPTION" => "{{site_name}} hesabınız ile giriş yapın ya da yeni bir hesap oluşturun.",
"SUBTITLE" => "Ücretsiz üye ol veya mevcut bir hesap ile giriş yapın.",
"TITLE" => "Hadi başlayalım!",
]
],

"PASSWORD" => [
"@TRANSLATION" => "Parola",

"BETWEEN" => "{{min}}-{{max}} karakterler arasında",

"CONFIRM" => "Şifreyi onayla",
"CONFIRM_CURRENT" => "Lütfen şuanki parolanızı giriniz",
"CONFIRM_NEW" => "Yeni parolayı onayla",
"CONFIRM_NEW_EXPLAIN" => "Yeni parolayı tekrar gir",
"CONFIRM_NEW_HELP" => "Sadece yeni bir şifre seçerseniz gerekli",
"CREATE" => [
"@TRANSLATION" => "Parola Oluştur",
"PAGE" => "Yeni hesabınız için bir şifre belirleyin.",
"SET" => "Parolayı Ayarla ve Giriş Yap"
],
"CURRENT" => "Şimdiki Parola",
"CURRENT_EXPLAIN" => "Değişiklikler için şimdiki parolanız ile onaylamalısınız",

"FORGOTTEN" => "Unutulan Şifre",
"FORGET" => [
"@TRANSLATION" => "Şifremi unuttum",

"COULD_NOT_UPDATE" => "Şifre güncellenemedi.",
"EMAIL" => "Lütfen kaydolmak için kullandığınız e-posta adresini giriniz. Şifrenizi sıfırlama talimatlarıyla bir bir bağlantı e-postanıza gönderilecektir.",
"EMAIL_SEND" => "E-posta şifre sıfırlama bağlantısı",
"INVALID" => "Bu şifre sıfırlama isteği bulunamadı ya da süresi bitmiş. Lütfen <a href=\"{{url}}\">isteğinizi yeniden göndermeyi<a>deneyin.",
"PAGE" => "Şifrenizi sıfırlamak için bir bağlantı oluşturun.",
"REQUEST_CANNED" => "Kayıp parola isteği iptal edildi.",
"REQUEST_SENT" => "Eğer e-posta<strong>{{email}}</strong> sistemdeki bir hesap ile eşleşirse, bir şifre yenileme bağlantısı<strong>{{email}}</strong> gönderilir."
],

"HASH_FAILED" => "Parola karma başarısız oldu. Lütfen bir site yöneticisiyle iletişime geçin.",
"INVALID" => "Şimdiki şifre kayıt edilen şifre ile eşleşmiyor",
"NEW" => "Yeni Şifre",
"NOTHING_TO_UPDATE" => "Aynı şifre ile güncelleyemezsiniz",

"RESET" => [
"@TRANSLATION" => "Şifre sıfırlama",
"CHOOSE" => "Lütfen devam etmek için yeni bir şifre belirleyiniz.",
"PAGE" => "Hesabınız için yeni bir şifre belirleyiniz.",
"SEND" => "Yeni şifre ayarla ve giriş yap"
],

"UPDATED" => "Hesap şifresi güncellendi"
],

"PROFILE" => [
"SETTINGS" => "Profil ayarları",
"UPDATED" => "Profil ayarları güncellendi"
],

"RATE_LIMIT_EXCEEDED" => "Bu işlem için belirlenen son oran aşıldı. Başka bir deneme yapmanıza izin verilene kadar {{delay}} bir süre beklemelisiniz.",

"REGISTER" => "Kaydol",
"REGISTER_ME" => "Beni kaydet",
"REGISTRATION" => [
"BROKEN" => "Üzgünüz, hesap kayıt işlemimizde bir sorun var. Lütfen destek almak için doğrudan bizimle iletişime geçin.",
"COMPLETE_TYPE1" => "Kaydınız başarıyla tamamlandı. Şimdi giriş yapabilirsiniz.",
"COMPLETE_TYPE2" => "Kaydınız başarıyla tamamlandı. Hesabınızı aktifleştirmek için bir bağlantı gönderildi<strong>{{email}}</strong>. Bu adımı tamamlayana kadar oturum açamazsınız.",
"DISABLED" => "Üzgünüz, hesap kaydı devre dışı bırakıldı.",
"LOGOUT" => "Üzgünüm, oturumunuz açıkken yeni bir hesap oluşturamazsınız. Lütfen önce oturumunuzdan çıkış yapınız.",
"WELCOME" => "Kaydolmak hızlı ve basittir."
],
"REMEMBER_ME" => "Beni hatırla!",
"REMEMBER_ME_ON_COMPUTER" => "Bu bilgisayarda beni hatırla ( genel bilgisayarlar için önerilmez)",

"SIGN_IN_HERE" => "Zaten bir hesaba sahip misiniz?<a href=\"{{url}}\">burada giriş yap</a>",
"SIGNIN" => "Giriş yap",
"SIGNIN_OR_REGISTER" => "Giriş yap veya kayıt ol",
"SIGNUP" => "Üye ol",

"TOS" => "Şartlar ve Koşullar",
"TOS_AGREEMENT" => "Bir hesap ile kaydolarak {{site_title}} sen kabul edersin <a {{link_attributes | raw}}>şartlar ve koşulları</a>.",
"TOS_FOR" => "{{title}} için şartlar ve koşullar",

"USERNAME" => [
"@TRANSLATION" => "Kullanıcı Adı",

"CHOOSE" => "Benzersiz bir kullanıcı adı seç",
"INVALID" => "Geçersiz kullanıcı adı",
"IN_USE" => "<strong>{{user_name}}</strong> kullanıcı adı zaten mevcut.",
"NOT_AVAILABLE" => "<strong>{{user_name}}</strong> kullanıcı adı kullanılamaz. Farklı bir isim veya 'öneriye' tıklayın."
],

"USER_ID_INVALID" => "İstenen kullanıcı adı mevcut değil.",
"USER_OR_EMAIL_INVALID" => "Kullanıcı adı veya e-posta adresi hatalı.",
"USER_OR_PASS_INVALID" => "Kullanıcı bulunamadı ya da şifre hatalı.",

"WELCOME" => "Tekrar Hoşgeldiniz.{{first_name}}"
];
19 changes: 19 additions & 0 deletions app/sprinkles/account/locale/tr/validate.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php
/**
* UserFrosting (http://www.userfrosting.com)
*
* @link https://github.com/userfrosting/UserFrosting
* @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License)
*
* Turkish message token translations for the 'account' sprinkle.
*
* @package userfrosting\i18n\tr
* @author Dumblledore
*/

return [
"VALIDATE" => [
"PASSWORD_MISMATCH" => "Şifreniz ve onaylama şifreniz eşleşmiyor.",
"USERNAME" => "Kullanıcı adınız sadece küçük harfler, sayılar, '.', '-', ve '_' içerebilir."
]
];
Loading

0 comments on commit 7cb7893

Please sign in to comment.