Commit Graph

387 Commits

Author SHA1 Message Date
Pig Fang
3946314ae0 Update test 2018-07-27 18:54:39 +08:00
Pig Fang
18274d4d22 Add missing files 2018-07-27 16:54:36 +08:00
Pig Fang
69e9641bf4 Add test for component "ClosetItem" 2018-07-27 16:17:22 +08:00
Pig Fang
9eeaf5989e Remove unused line 2018-07-27 11:56:07 +08:00
Pig Fang
c120c58dda Add Vue component for skinview3d 2018-07-27 09:54:23 +08:00
Pig Fang
f6dec9d447 Get ready for using Vue.js 2018-07-25 15:32:08 +08:00
Pig Fang
3c24a166e8 Use signed URL to simplify resetting password 2018-07-18 11:04:34 +08:00
Pig Fang
a8a3ba4ec9 add types shims 2018-07-17 09:39:14 +08:00
Pig Fang
9cd6e0945d booleanify public property 2018-07-16 11:10:01 +08:00
Pig Fang
e1df46b7cd use stylus instead of sass 2018-07-10 14:19:58 +08:00
printempw
815fef7f3d Enhance rendering notice for unsatisfied plugin dependencies 2018-06-29 20:54:40 +08:00
printempw
b4e8b7e8c9 Update tests of plugins 2018-06-29 18:26:48 +08:00
printempw
967e1642d3 Update plugins management page for resolving dependencies 2018-06-29 16:45:43 +08:00
printempw
e7f95fe956 Add short description for setting model preference 2018-06-19 17:45:43 +08:00
printempw
6926ae21ff Use swal to show error message when adding players 2018-06-19 11:47:50 +08:00
printempw
64b904107a Update the text on console 2018-06-17 14:42:55 +08:00
printempw
36064873e3 Revert "Add a option for adding a player after registered"
This feature will be implemented as a plugin. This reverts commit ad255252b57b135ddecf89aa1331c40c97324be9.
2018-06-15 22:44:30 +08:00
Pig Fang
a2ad367651 feat: better DataTables AJAX error 2018-03-18 10:49:49 +08:00
printempw
62af291091 Add button to clear selected textures in closet 2018-02-24 18:14:15 +08:00
printempw
da48fd84dc Adjust allowed maximum password length to 32 2018-02-24 16:32:19 +08:00
printempw
efe5c6229c Update initialization of datatables 2018-02-24 15:59:56 +08:00
printempw
a13d5a947a Fix tooltips on data tables 2018-02-24 13:51:32 +08:00
printempw
31391be8c3 Use laravelchartjs package to generate overview chart 2018-02-24 13:33:24 +08:00
printempw
4d8856e0f4 Adjust canvas style of skinview3d 2018-02-24 13:31:37 +08:00
printempw
459439f132 Fix tests for skinview3d 2018-02-24 00:08:24 +08:00
printempw
249c9f290d Avoid operating skinViewer instance directly outside the module 2018-02-24 00:08:09 +08:00
printempw
0373c0ada6 Remove tests for texture-preview module 2018-02-24 00:01:44 +08:00
printempw
d54709c23d Add default texture for alex model 2018-02-23 23:17:29 +08:00
printempw
0a0b25b5af Update initialization of skinview3d 2018-02-23 22:32:08 +08:00
printempw
76b607dfd2 Fix DOM selector of changing player name 2018-02-23 22:18:18 +08:00
printempw
d2d8eef15f Migrate to skinview3d completely 2018-02-23 22:16:51 +08:00
printempw
9505efb797 Update vendor i18n files 2018-02-23 18:51:29 +08:00
printempw
9bf7dccb64 Fix generating sidebar 2018-02-23 16:51:50 +08:00
printempw
98e27151ff Fix bootstrap tooltips 2018-02-23 16:26:53 +08:00
printempw
b876b99459 Switch to skinview3d on skinlib pages 2018-02-23 16:22:08 +08:00
printempw
0bb3ef55b3 Replace three.msp.js with skinview3d 2018-02-23 16:16:52 +08:00
printempw
2d43a05a54 Fix codebase due to dependencies update 2018-02-23 12:08:27 +08:00
printempw
90af85d00f Fix using JavaScript protocol in a.href 2018-02-16 20:15:26 +08:00
printempw
3ebc206e7d Remove lib docCookies 2018-02-16 19:54:07 +08:00
printempw
42e06e8954 Add .editorconfig 2018-02-16 15:39:55 +08:00
Pig Fang
acadfd73bb fix(i18n): fix wrong i18n key for "player" page 2018-01-01 23:02:18 +08:00
Pig Fang
846f29ef6d style(js): stricter eslint rules (#108)
* style(js): stricter eslint rules

* build: ignore .eslintignore
2017-12-29 23:28:11 +08:00
Pig Fang
b1fa8c098b refactor(common): refactor polyfill of String.prototype.includes 2017-12-27 17:47:13 +08:00
Pig Fang
04a88a2e30 build: remove commonjs exports 2017-12-24 11:40:15 +08:00
Pig Fang
88502a3db1 test(all): remove console output when testing 2017-12-24 10:54:00 +08:00
Pig Fang
e4ee22ad75 Fix missing parameter 2017-12-16 11:15:18 +08:00
Pig Fang
bec9bdf3f3 Fix iterating items for closet and skin library
`for...of` is a feature of ES6,
however Babel will transpile this syntax to `Symbol.iterator()`,
which does not supported on IE11.
We won't add `Symbol` polyfill,
because it will increase JS file size.
`Array.prototype.reduce` is of ES5 and supported on IE11.
2017-12-16 11:03:37 +08:00
Pig Fang
76b6d68bc2 Update JSDoc 2017-12-09 15:32:25 +08:00
Pig Fang
a97128da1e Move "setTexture" function to "closet" 2017-12-04 14:41:53 +08:00
gplane
b834264c3e Update JavaScript tests 2017-11-29 13:52:32 +08:00
Pig Fang
4ebd54707e Update JavaScript tests 2017-11-26 23:57:52 +08:00
Pig Fang
09ccae26c4 Use event listener instead of inline href
Using inline `href` to execute JavaScript in Firefox doesn't work.
2017-11-24 22:27:33 +08:00
Pig Fang
577c5ab8df Use fallback locale for JavaScript in I18N 2017-11-24 20:03:44 +08:00
Pig Fang
aaf612f2d9 Add tests for PlayerController 2017-11-14 23:25:04 +08:00
Pig Fang
42a42ef8c7 Use async/await and update tests 2017-11-08 13:33:03 +08:00
Pig Fang
6a5a198b1d Fix missing texture type after renaming item in closet 2017-11-06 16:19:59 +08:00
Pig Fang
594954dbe2 Make responsive for closet
fix #89
2017-11-06 11:07:24 +08:00
Pig Fang
bce4ed4a42 Add a option for adding a player after registered 2017-11-05 20:56:52 +08:00
Pig Fang
8d1adc7e4d Add security check before resetting password 2017-11-05 10:25:20 +08:00
printempw
b948f27692 Fix signing out after changing password 2017-08-07 14:46:03 +08:00
printempw
52281dd25c Add option destroyOnClose for showModal 2017-08-07 14:43:22 +08:00
printempw
64d6900434 Add fucking test for sending feedbacks 2017-08-07 13:14:49 +08:00
printempw
0f611d56f6 Adjust frequency of sending feedbacks 2017-08-07 10:16:25 +08:00
printempw
19f75f4a0d Add test for checking updates 2017-08-06 23:39:18 +08:00
printempw
3ab2db4133 Fix tests 2017-08-06 23:12:07 +08:00
printempw
1852e9f4fb Separate scripts about checking updates from HTML 2017-08-06 23:08:09 +08:00
printempw
efb7cf07e5 Fix removing items from closet 2017-08-06 22:40:30 +08:00
printempw
86c5343c55 Move all iCheck initialization to layout.js 2017-08-06 22:31:09 +08:00
printempw
c25332008f Revert "Make iCheck color followed by body theme"
This reverts commit e4ae3c7130c4aa73cf276b451c763a533a78da82.
2017-08-06 22:09:19 +08:00
gplane
37654eb807 Make iCheck color followed by body theme 2017-08-06 18:06:29 +08:00
gplane
0771c4c2dd Use "min" as unit when sign remaining time is less than 1 hour 2017-08-06 17:05:04 +08:00
printempw
cb2ce86aae Enhance detection of mobile browser scrolling #80 2017-08-05 18:22:03 +08:00
printempw
d5f7c704dd Add dangling commas in module.exports 2017-08-01 14:42:17 +08:00
printempw
5fd8ef62aa Update tests 2017-08-01 14:39:44 +08:00
printempw
3e798d9cc5 Simplify the form of catching ajax errors 2017-08-01 12:24:32 +08:00
printempw
07110d2580 Fix adding event listener using jQuery 2017-08-01 12:19:23 +08:00
printempw
f29ab3042d Fix XSS when searching skinlib 2017-07-31 12:51:00 +08:00
printempw
e170d6685f Fix searching player count of user at admin page 2017-07-30 14:48:40 +08:00
printempw
153f515f15 Minor bug fixes for tests 2017-07-28 18:22:59 +08:00
printempw
28c4d555d4 Merge pull request #76 from g-plane/master
为 JavaScript 代码添加单元测试
2017-07-28 04:54:03 -05:00
printempw
4e546076ef Fix ajax URL of managing plugins 2017-07-28 17:51:18 +08:00
gplane
d1faaf64f5 Add unit test for JavaScript files 2017-07-20 15:36:59 +08:00
printempw
54a0ac3618 Apply new style for login page 2017-07-14 10:37:00 +08:00
printempw
52a18195cd Use ES6 destructuring assignment syntax 2017-07-14 09:34:09 +08:00
printempw
3a74329548 Rename sign in to sign 2017-07-14 09:17:52 +08:00
printempw
eb0e5bc589 Fix clearing current filters when switching laguage 2017-07-14 08:47:42 +08:00
printempw
1154b219fe Fix translation of jQuery datatables 2017-07-14 08:29:57 +08:00
printempw
8bb885d476 Prevent default behavior of clicking button at login page 2017-07-13 21:37:37 +08:00
printempw
a51523e54c Fix url of setting user avatar 2017-07-13 21:24:05 +08:00
printempw
104f5a32a7 Refactor & modulize JavaScript files 2017-07-13 17:03:21 +08:00
printempw
ddb0e0bff8 Remove file headers 2017-07-12 22:28:20 +08:00
printempw
d9206e955d Use url() to generate absolute url in JavaScript files 2017-07-12 22:19:23 +08:00
printempw
b873ffef9c Adjust filename of source files 2017-07-03 20:54:19 +08:00
printempw
d9abb7c99f Fix minor bugs 2017-06-30 16:36:59 +08:00
printempw
8df825d16a Fix fucking auto height reseting caused by AdminLTE 2017-06-30 14:04:32 +08:00
printempw
34962255a2 Add ajax pagination & search for skinlib 2017-06-30 10:33:41 +08:00
printempw
10801b8f7d Redirect to last requested path after logging in 2017-06-28 20:42:51 +08:00
printempw
fda8d9fd35 Fix not clearing cape preview when switching players 2017-06-28 17:23:57 +08:00
printempw
f07cc0f76f Add extra links in user-menu for admins 2017-06-27 22:51:14 +08:00
printempw
48c8aeb6ff Fix real-time nickname hinting when transfering players 2017-05-06 21:21:19 +08:00
printempw
b800d6fe07 Fix user status after ban/unban 2017-05-05 12:07:47 +08:00
printempw
a47070f4e3 Fix unhandled uid format 2017-05-05 11:57:41 +08:00
gplane
189a796a7f Fix reloading plugins table 2017-04-28 19:54:26 +08:00
gplane
dfbe6400d4 Add some redirectings for admin panel 2017-04-27 18:02:05 +08:00
gplane
2ca383628e Fix redirect after updating profile 2017-04-27 16:38:40 +08:00
gplane
b54ddb6fb2 Add changing player name in admin panel 2017-04-27 08:52:55 +08:00
gplane
e134296565 Fix detection of options of clearing textures 2017-04-27 00:02:48 +08:00
gplane
9d16e20db5 Fix missing preview of cape in player management
of user center.
2017-04-27 00:00:42 +08:00
gplane
2649840644 Fix misspelling of "general.js" 2017-04-26 23:48:39 +08:00
gplane
ca9aded3df Add option for choosing types of textures to be cleared 2017-04-26 23:39:10 +08:00
gplane
602e52d9e6 Fix displaying player name rule 2017-04-26 17:50:10 +08:00
gplane
8a8a4e57ee Show message when closet is empty
after deleting textures.
2017-04-26 17:43:34 +08:00
gplane
8a6ef9e437 Use "url()" function 2017-04-26 17:34:24 +08:00
gplane
8abed82899 Fix applying textures to player 2017-04-26 17:05:15 +08:00
gplane
12bdac3bb4 Fix removing table row when deleting user 2017-04-26 16:32:17 +08:00
gplane
800cebcc8f Remove lodash 2017-04-26 15:58:53 +08:00
gplane
911724881c Fix getting default value of user management 2017-04-26 15:32:26 +08:00
gplane
44999af7d8 Display nickname before changing texture owner 2017-04-26 15:28:53 +08:00
gplane
4b8a40ce59 Fix status text of user management 2017-04-25 23:24:03 +08:00
gplane
93364ef723 Add default value when renaming texture in skin library 2017-04-25 22:03:12 +08:00
gplane
b0f29c5036 Add i18n for sweetalert2 in admin panel 2017-04-25 17:31:08 +08:00
gplane
874f4bd681 Remove file suffix when uploading 2017-04-24 11:35:55 +08:00
gplane
f53bb7acb6 Optimize closet
1. Use jqPaginator
2. Use CSR for closet
3. Use AJAX for closet
4. Just type to search instead of pressing ENTER key
5. Link to skin library is according to current category when closet is empty
6. Texture indicator shows category of texture
2017-04-24 11:26:53 +08:00
gplane
7607beebaf Use sweetalert2 instead of built-in function 2017-04-23 11:46:51 +08:00
gplane
80f82b4b87 Fix text about banning user 2017-04-22 23:38:59 +08:00
gplane
4ae8ed2d82 Use CSR for DataTables 2017-04-22 18:36:22 +08:00
gplane
e708c0363e Add default value when renaming closet item 2017-04-22 09:17:39 +08:00
gplane
f2b51fbd2a Generate preview on img clicked only 2017-04-21 00:18:51 +08:00
gplane
6e5ed604cd Bluring when updating score in admin panel 2017-04-21 00:09:13 +08:00
gplane
3e27625064 Update storage display when checking in 2017-04-21 00:05:45 +08:00
gplane
e3e70a59e6 Update texture name when choosing file again 2017-04-20 23:46:06 +08:00
printempw
8498d7c76d fix wrong link to texture detail #48 2017-01-22 18:54:02 +08:00
printempw
38018276e5 fix changing current language at texture detail page 2017-01-22 15:58:52 +08:00
printempw
2804a2b079 print a brand on every pages' console 2017-01-21 14:38:03 +08:00
printempw
a086584a41 update dom id of copyright text 2017-01-21 12:59:35 +08:00
printempw
ea7c7b55e8 fix font-weight of sweet alerts 2017-01-21 11:25:42 +08:00
printempw
21febf0117 add additional options for showing modals 2017-01-21 11:18:15 +08:00
printempw
c6850f41bb add some detection for bad ass 2017-01-21 11:17:45 +08:00
printempw
c16ae91de0 enhance showing previews of player texture 2017-01-20 21:23:24 +08:00
printempw
49fd8e4eb3 enhance directory structure of assets 2017-01-20 18:22:10 +08:00
printempw
100314dfd7 use babel to compile ES6 scripts to ES5 2017-01-19 23:07:13 +08:00
printempw
120df57edf add JavaScript helper function url() 2017-01-18 21:49:23 +08:00
printempw
9ff5bbfcaa ✏️ use signing in instead of checking in 2017-01-17 22:57:16 +08:00
printempw
5f9eb0b6fd add option for sending usage statistics 2017-01-15 16:20:29 +08:00
printempw
07b3a025a5 use name as unique identifier for plugins generally 2017-01-08 16:09:54 +08:00
printempw
f6aadc71f0 add language-chooser for error pages 2017-01-08 15:20:50 +08:00
printempw
30fb7bdedf update translation of downloading updates 2017-01-02 15:31:46 +08:00
printempw
6c462d0a96 use jQuery DataTable to show plugins page 2017-01-02 12:19:34 +08:00
printempw
53d1a6627d do dom operations before showing success when checking in 2017-01-02 11:17:07 +08:00
printempw
3b96166ee8 finish i18n work of user/player management 2016-12-31 21:16:04 +08:00
printempw
932382d5c8 adjust style of tables 2016-12-31 18:42:04 +08:00
printempw
acedbcce0b add language chooser at setup page 2016-12-31 17:14:19 +08:00
printempw
3ca85aff8f use jQuery DataTables plugin at user management 2016-12-31 11:38:07 +08:00
printempw
35e49e58ab adjust style of .description 2016-12-30 20:55:33 +08:00
printempw
2807c3ce6d enhance judgement of active menu 2016-12-17 19:02:56 +08:00
printempw
be23dac2b3 adjust styles at user/player 2016-12-17 18:07:29 +08:00
printempw
2bff6a080f add translation for index 2016-12-11 22:04:15 +08:00
printempw
5370e4904c brand-new landing page 2016-12-11 15:17:24 +08:00
printempw
a858456d38 add some application information for javascript 2016-12-10 22:01:05 +08:00
printempw
3811f7d704 working on extracting of updates 2016-11-25 13:13:26 +08:00
printempw
9b6c18cd6b now we have an awesome progress bar when download updates 2016-11-25 12:54:20 +08:00
printempw
589be0c892 move setup wizard into laravel framework 2016-11-18 16:46:58 +08:00
printempw
5fc43ed45b fix some minor issues for plugins 2016-11-17 17:32:12 +08:00
printempw
b232503fab add ability of selecting multi textures at closet 2016-11-13 12:20:30 +08:00
printempw
a877fa0788 always redirect after uploading texture 2016-10-23 11:39:15 +08:00
printempw
e6a08c5229 fix wrong base url when logout 2016-10-23 11:07:08 +08:00
printempw
c615612889 fix trans key of notice for removing items 2016-10-22 23:09:35 +08:00
printempw
0aa68aeb58 add some chart at admin panel 2016-10-16 21:21:37 +08:00
printempw
86d82931bb add option of max size of uploaded file 2016-10-16 20:18:40 +08:00
printempw
f81c405dba fix comparing with undefined 2016-10-06 17:56:01 +08:00
printempw
f0532dcc6c fix minimal length of password 2016-10-02 20:30:27 +08:00
printempw
3dabe909b4 fix bug when getting type of real-time preview 2016-09-27 21:39:49 +08:00
printempw
ae92f54122 fix compatibility of String.prototype.endsWith 2016-09-26 22:36:34 +08:00
printempw
e3dee247b4 fix invisible language select on mobile 2016-09-26 22:13:39 +08:00
printempw
15c3c55142 add renaming closet items 2016-09-25 10:35:16 +08:00
printempw
f0ef6dec0d move static files to resources/assets 2016-09-25 00:03:07 +08:00
printempw
9642c1c9b0 move assets to resources directory 2016-09-14 22:44:30 +08:00
printempw
a5a48789c5 working on translations 2016-09-11 15:40:09 +08:00
printempw
963a8a516b fix ajax url of signing in 2016-09-10 21:43:08 +08:00
printempw
97539d4178 fix ajax urls at skinlib 2016-09-10 21:37:00 +08:00
printempw
5e3e1e64d4 fixed support for sub directory 2016-09-10 17:52:33 +08:00
printempw
fe8291d05c enhance notice when submitted too many wrong passwords 2016-09-05 22:27:35 +08:00
printempw
ac0ef4e086 fix 3d preview when select type at upload page 2016-09-03 21:50:08 +08:00
printempw
adcc681721 stop rotating when pause 2016-08-29 10:13:26 +08:00
printempw
7e23d08285 change dist directory of assets 2016-08-28 18:34:41 +08:00
printempw
07589b54d0 use laravel elixir to compile assets 2016-08-28 11:49:22 +08:00
printempw
1e7030236e initialize for laravel 2016-08-28 10:05:21 +08:00