Harshit Bansal
0dbca4a3c3
settings: Display all the bots owned by an user.
...
Add UI to display all the bots owned by an user whether active
or inactive in "Your Bots" section.
2017-03-10 10:59:49 -08:00
Harshit Bansal
876d7bbcdc
settings: Rename `bots_list` to `active_bots_list`.
2017-03-10 10:59:49 -08:00
Tim Abbott
900891b072
settings: Rename settings-status to account-settings-status.
2017-03-10 10:53:06 -08:00
Rafid Aslam
1143a2d8c4
attachment: Add file icon to the green box when file has no extension.
...
Fixes #3848 .
2017-03-09 00:56:37 -08:00
Brock Whittaker
9ba0db29e4
Change the content-wrapper to be absolutely positioned.
...
Now because it isn’t floating left it won’t slide down to a level below
the rest of the content when there are pixel rounding errors with
browser zoom.
2017-03-03 18:10:41 -08:00
Brock Whittaker
b8f2685b18
Change bots actions to sidebar.
...
This changes the bot actions to a sidebar that resides in the settings
overlay.
2017-02-28 20:02:23 -08:00
Brock Whittaker
e9e722d48b
Restyle individual bots.
...
This restyles the individual bots to be in a grid and to look more
modern than the last setup.
2017-02-28 20:02:23 -08:00
K.Kanakhin
257bb40698
realm-icon: Add realm icon feature.
...
- Add realm icon fields to realm model.
- Add migration for new realm model's field.
- Add views for icon uploading and deleting.
- Add routes for realm icons views.
- Add JS widget for realm icon upload setting.
- Add realm icon upload to administration
organization setting.
- Add tests for realm icons.
Fixes #3660 .
2017-02-26 12:16:07 -08:00
Brock Whittaker
c35d821786
Restyle uploaded files table.
...
This restyles the uploaded files table to be lighter, more minimal, and
easier to parse than the previous table.
2017-02-24 15:05:06 -08:00
aakash-cr7
b72262e8ec
Add UI for seeing all muted topics in settings page.
...
Fixes #2322 .
2017-02-17 00:10:18 -08:00
paxapy
9a5179c460
Add support for managing and deleting attachments.
...
Modified substantially by tabbott to fix tons of issues.
Fixes #454 .
2017-02-16 23:44:44 -08:00
Brock Whittaker
1143ed7219
redesign: Change /#settings and /#administration to an overlay.
...
This also adds a box-shadow to the #deactivate_self_modal so that it
looks similar to the old backdrop.
2017-02-09 23:35:10 -08:00
Tim Abbott
7a76f3dcc8
settings: Redesign the account settings template.
...
This is technically part of the settings page redesign in the next
commit, but it's probably useful to keep separate, since it touches
totally different code.
2017-02-09 23:33:28 -08:00
Harshit Bansal
7d10cbc32b
Add RealmAlias.allow_subdomains to model, frontend, and API.
...
Includes a database migration.
Fixes #1868 .
2017-02-08 22:03:27 -08:00
Harshit Bansal
0ff22f68b3
settings.css: Make long domains list wrap properly in admin settings.
2017-01-26 17:24:25 -08:00
Harshit Bansal
38c50a81ad
admin settings: Restyle realm alias modal.
2017-01-26 17:24:25 -08:00
Harshit Bansal
ceb636dbd9
Manage allowed domains from admin settings.
...
Fixes : #1867 .
2017-01-06 12:03:31 -08:00
JefftheBest1
0e6078fade
Wrapped text in admin user and bot tables.
...
Fixes : #2569 .
2016-12-21 14:55:50 -08:00
Tomasz Kolek
9933abf833
css: Fix problem with too long stream name on stream deletion modal.
...
Add overflow-wrap rule to zulip.css for deactivation_stream_modal h3.
Fixes : #2596 .
2016-12-07 21:23:23 -08:00
Tim Abbott
6e86515b15
css: Move display-none and inline-block to components.css.
2016-12-02 13:03:43 -08:00
Tim Abbott
a7681c3c2f
css: Move .light to components.css.
2016-12-02 13:03:43 -08:00
aakash-cr7
0525b65f90
Fix positioning of error message appearing on adding custom alert words.
...
Fixes #2413 .
2016-11-26 10:11:55 -08:00
Vladislav Manchev
d7e1e4a2c0
Add initial implementation of custom realm filters.
...
This PR was abandoned by Vladislav and then substantially modified by
Igor Tokarev and Tim Abbott to complete it and fix a number of bugs.
Fixes #544 .
2016-11-17 17:11:25 -08:00
Tomasz Kolek
ea58005796
Fix styling in api_key_box section on settings page.
...
Before fix, "Your API key" section was to close left side of the box.
2016-11-15 09:32:10 -08:00
reyha
d96d4e30ab
Stream settings: sets zero margin for 'Streams Deletion' table.
...
This removes the extra space at the bottom of the 'Stream Deletion'
table, by setting the margin for the table to '0px'.
Fixes #2077 .
2016-10-25 15:08:47 -07:00
Umair Khan
36c6a5d758
Add support for changing user's name by admin.
...
Fixes : #1553
2016-10-11 16:36:48 -07:00
Tim Abbott
aaa221233a
lint: Ban 2-space indentation in our CSS.
...
Probably most properly we should check for any number of spaces that
isn't 4, but that's a bit more work to do with our linter framework,
and in practice basically every CSS whitespace error we see is 2-space.
2016-09-27 18:06:44 -07:00
Tim Abbott
2ea7d2341e
css: Move new-style buttons to new components.css and expand.
2016-09-27 17:48:24 -07:00
Sahil Dua
058587da77
Remove extra new lines at the ends of Zulip authoried files.
...
Fixes #1627 .
[tweaked by tabbott to avoid patching third-party modules, for now]
2016-09-26 21:05:24 -07:00
Brock Whittaker
3a4fff837f
Identify if an emoji URL is invalid and signal an error.
...
Previously, no error would display in the UI if the link to the emoji
image was invalid. This would happen for instance if you put in
“invalid” for the Emoji URL. No alerts would pop up but it would refuse
to add the emoji.
This catches the error and displays a notification that looks like
“Failed: Enter a valid URL.”
Fixes #1116 .
2016-09-26 20:52:45 -07:00
Brock Whittaker
706f422c3a
Massively refactor settings page templates and styling.
...
This restructures the styling for the Zulip settings and
administration pages to minimize use of Bootstrap and use a consistent
styling library for similar elements.
While it is basically a wash in terms of the page's visuals, it will
make our life a lot easier for future work on improving the settings
pages section of the site.
2016-09-19 21:55:06 -07:00
Rishi Gupta
d529a94e4d
Add realm setting to time-limit editing of message content.
...
This is controlled through the admin tab and a new field in the Realms table.
Notes:
* The admin tab setting takes a value in minutes, whereas the backend stores it
in seconds.
* This setting is unused when allow_message_editing is false.
* There is some generosity in how the limit is enforced. For instance, if the
user sees the hovering edit button, we ensure they have at least 5 seconds to
click it, and if the user gets to the message edit form, we ensure they have
at least 10 seconds to make the edit, by relaxing the limit.
* This commit also includes a countdown timer in the message edit form.
Resolves #903 .
2016-07-15 13:55:49 -07:00
Preston Hansen
87e485c89f
Add error message when user attempts to submit empty alert word.
...
Resolves #1194 .
2016-07-13 21:07:20 -07:00
Tim Abbott
f513a68ac9
lint-all: Check for missing whitespace before { in CSS.
...
Also fix the existing violations of this rule.
2016-07-10 17:29:36 -07:00
Tim Abbott
4d28111178
Move alert_words CSS to settings.css.
2016-07-09 08:01:54 -07:00
aakash-cr7
63475a55f3
Add bots and avatars css to settings.css.
2016-07-09 08:01:12 -07:00
aakash-cr7
e37e384dd4
Add notification css to settings.css.
2016-07-09 07:53:51 -07:00
Tim Abbott
199e2df1e3
Split styles/settings.css out of zulip.css.
2016-06-26 08:21:39 -07:00