<commit_before># Zimbra Fresh UI
In this Repository you will find how to download and change some minor files in order to add a fresh aspect to your Zimbra Inbox.
Supported for ZCS 8.6 and 8.7, it's compatible with 8.7.1 as well, you will need to answer the question if you are using 8.7.1

![alt tag](https://github.com/jorgedlcruz/zimbra-fresh-ui/raw/master/zimbra-fresh-ui.png)

# Instructions
## Assuming you have git installed
* You will need git installed on your Zimbra Server, if not, please do apt-get install git or yum install git, as per your OS

Now clone the repository to /tmp or /root folder, whatever folder is okay

```bash
git clone https://github.com/jorgedlcruz/zimbra-fresh-ui.git
```

Move to the new folder, change the attributes for the install.sh script and run it, be aware that the mailboxd will be restarted

```bash
cd zimbra-fresh-ui
chmod +x install.sh
./install.sh
```
The installer will ask if you have 8.7.1, type y if you have it or n if you have ZCS 8.6 or 8.7

Remember to keep safe the files css.tar.gz and skins.tar.gz in case you need to rollback

Return then to your Browser and pres F5, or refresh your Browser

# Uninstall instructions
In case that you need to rollback, please follow the next instructions:

```bash
tar -xvf css.tar.gz
tar -xvf skins.tar.gz
/bin/cp -rfaxv opt/zimbra/jetty/webapps/zimbra/* /opt/zimbra/jetty/webapps/zimbra/
su - zimbra -c 'zmmailboxdctl restart'
```

## ToDo
- [ ] Add the skin_container_username back again, but with an image icon instead the name
- Can use the next image for example img/zimbra/ImgAccounts.png, when people mouseover the quota and the name will appear

========================================================================
### License
The MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<commit_msg>minor typo<commit_after># Zimbra Fresh UI
In this Repository you will find how to download and change some minor files in order to add a fresh aspect to your Zimbra Inbox.
Supported for ZCS 8.6 and 8.7, it's compatible with 8.7.1 as well, you will need to answer the question if you are using 8.7.1

![alt tag](https://github.com/jorgedlcruz/zimbra-fresh-ui/raw/master/zimbra-fresh-ui.png)

# Instructions
## Assuming you have git installed
* You will need git installed on your Zimbra Server, if not, please do apt-get install git or yum install git, as per your OS

Now clone the repository to /tmp or /root folder, whatever folder is okay

```bash
git clone https://github.com/jorgedlcruz/zimbra-fresh-ui.git
```

Move to the new folder, change the attributes for the install.sh script and run it, be aware that the mailboxd will be restarted

```bash
cd zimbra-fresh-ui
chmod +x install.sh
./install.sh
```
The installer will ask if you have 8.7.1, type y if you have it or n if you have ZCS 8.6 or 8.7

Remember to keep safe the files css.tar.gz and skins.tar.gz in case you need to rollback

Return then to your Browser and press F5, or refresh your Browser

# Uninstall instructions
In case that you need to rollback, please follow the next instructions:

```bash
tar -xvf css.tar.gz
tar -xvf skins.tar.gz
/bin/cp -rfaxv opt/zimbra/jetty/webapps/zimbra/* /opt/zimbra/jetty/webapps/zimbra/
su - zimbra -c 'zmmailboxdctl restart'
```

## ToDo
- [ ] Add the skin_container_username back again, but with an image icon instead the name
- Can use the next image for example img/zimbra/ImgAccounts.png, when people mouseover the quota and the name will appear

========================================================================
### License
The MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
{'fraction_non_alphanumeric': 0.09340881520420542, 'fraction_numerical': 0.007278608976951072, 'mean_word_length': 4.353896103896104, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2158612', 'n_tokens_mistral': 1446, 'n_tokens_neox': 1370, 'n_words': 714}