Niko
5fa906270b
WIP: added settings/profile page with basic information load
2022-03-14 22:00:21 +01:00
Niko
9fbfd38311
Allow a custom ts specification of waitUntil base.js
2022-03-14 21:59:47 +01:00
Niko
a3dfbbdde4
Change instance emojis code to retrieve all (even if servers didn't send them as Emoji object)
2022-03-14 21:58:00 +01:00
Niko
2ad27897fe
Implement "href" options in menu config
2022-03-14 19:48:26 +01:00
Niko
9d2e1ca35d
Little UI fixes
2022-03-14 19:37:41 +01:00
Niko
a0050ded4a
Little bug fixes and improvements
...
* Improved html treatment on quizs
* Redirect to home when quiz does not exist
* Show quiz send confirm message only when form validated
2022-03-09 00:05:53 +01:00
Niko
058826feaa
Add published field on "Note"s send to other servers
2022-03-06 20:52:14 +01:00
Niko
1e698ae289
Add default avatar in accounts.getAccount API
2022-03-06 20:37:27 +01:00
Niko
03356275e4
Change activity IDs for api.accounts methods
2022-03-05 21:32:25 +01:00
Niko
e5abc50884
Change IDs for activity and object in api.me.sendNote
2022-03-05 21:28:16 +01:00
Niko
eec496c253
Make quiz "responses" write only when validated
2022-03-05 21:01:06 +01:00
Niko
8d2416f3c5
Fix debugging if(false) left
2022-03-05 20:59:17 +01:00
Niko
c6958de973
Added API method to create "Note" with different visibilities
2022-03-05 20:55:12 +01:00
Niko
5610cde131
Fix crush discard confirmation when Accepted + some UI fixes
2022-03-02 18:57:11 +01:00
Niko
9529520bcd
String refactoring on /app + added discard confirm in pages.meet
2022-03-02 02:11:16 +01:00
Niko
08bc50fcea
Add confirmation on quiz.send and discard actions + Some z-index fixes
2022-03-02 01:17:55 +01:00
Niko
3519aba243
Add disabled state for Quiz when filled + More locales in /app
2022-03-02 00:54:38 +01:00
Niko
f6b03ee4c8
Move html2text to a function in utils.js + Securing html in outbox texts
2022-03-02 00:25:11 +01:00
Niko
73bdac849f
Added function for replying to a Quiz request from any platform
...
* The reply format is just regular HTML (text) which will help the
originating user to choose if we can be it's crush
2022-03-01 23:59:55 +01:00
Niko
f00aa6d9d8
Basic code added for sending quizs.
...
TODO: check quiz is valid, it hasn't been responded yet, and is owned by the actor responding
+ create Note with the response for activitypub + create federation INBOX event for parsing responses
2022-02-28 22:05:18 +01:00
Niko
034963b258
Refactor api.account to api.accounts + Added action.discard to quizs
2022-02-27 13:44:32 +01:00
Niko
8e1f2af662
Create module "api" for various repeated api method calls inside UI
2022-02-27 13:12:26 +01:00
Niko
ccf5954091
Fixed race condition when scroll to 0 intends to happend after page-switch
2022-02-27 12:50:07 +01:00
Niko
b0fefb4690
Support localized menu strings + improved some css for menus
2022-02-26 02:59:04 +01:00
Niko
258f69cc11
Created framework for showing menus easily on top of a button click
2022-02-26 02:41:11 +01:00
Niko
d9420fffca
Fix bug where customCss was filling html + some UX stabilization
2022-02-26 00:45:15 +01:00
Niko
6d85cb134c
Reorganizing code
2022-02-26 00:23:08 +01:00
Niko
9d02511d35
Change javascript: to onclick= on most html
2022-02-26 00:05:26 +01:00
Niko
3252ce5d6f
Wrap window.history.back() into "exit()" to be able to write a custom exit function in modules
2022-02-25 19:24:03 +01:00
Niko
db0297297f
Added css $variable use (like live-sass) + added discard/send buttons in quiz
2022-02-25 18:54:12 +01:00
Niko
4d4cb14a2a
Add cssprops in a css.php module instead of by-JS loaded
2022-02-25 17:32:22 +01:00
Niko
ba0afb813b
Make images in pages.meet full size even if they are smaller
2022-02-25 15:45:03 +01:00
Niko
e99f1bd636
Improve pages.home preloading when loading pages.quiz
2022-02-25 15:34:44 +01:00
Niko
2d501f7575
Support GIFs in pages.meet user profile image
2022-02-25 15:27:33 +01:00
Niko
6bf5ee7fcd
Added a navigation at bottom with "Back" button in fullscreen
...
* Refactor all buttons with "noback" to support custom backgrounds
* Create calcCustomCss function that creates custom background-color hover colors automatically
* Other refactors
2022-02-25 15:25:21 +01:00
Niko
e973da1aa8
Animation framework using JS + Improvements in Quiz UX
2022-02-25 13:27:25 +01:00
Niko
452837cf55
Improved UX + change form of quiz to be global
2022-02-24 10:01:52 +01:00
Niko
76b6787c60
Add app.fullscreen module to handle virtual "fullscreen" of app content
2022-02-24 01:11:39 +01:00
Niko
ac4a4ac715
Added options on Quiz + Improved UX in pages.quiz and other App aspects
2022-02-24 00:59:10 +01:00
Niko
27eefb7da3
Avoid computation of code blocks search in template if no callback
2022-02-23 20:00:14 +01:00
Niko
36151c128c
Support template blocks in app.template, to be used in loops
2022-02-23 19:56:00 +01:00
Niko
c8966e1c8b
Basic quiz.index implementation done. TODO: options using {loop}
2022-02-23 19:28:59 +01:00
Niko
b41812592d
Disable pages.meet actions.maybe when user is already a crush
2022-02-23 17:40:44 +01:00
Niko
29620c3bb1
Created module app.button for controlling button disabled states
2022-02-23 17:29:39 +01:00
Niko
caffafa7fc
Sort API me.quizs by DESC order
2022-02-23 15:56:06 +01:00
Niko
f273506d9d
Added app.preload module to be able to add preload methods for other UI modules
2022-02-23 15:49:54 +01:00
Niko
4e3501ce37
Show up a button to the Quiz related to pages.meet item
2022-02-23 15:32:20 +01:00
Niko
8dc1923219
Include active quizs.id in the /feed/meet API
2022-02-23 14:49:03 +01:00
Niko
791bb1eaf0
Make getQuiz a wrapper for use in other API methods
2022-02-23 14:47:57 +01:00
Niko
0b49d59ee1
UX improvements on pages.home quizs
2022-02-23 14:09:35 +01:00